Operating System - HP-UX
1748156 Members
3981 Online
108758 Solutions
New Discussion юеВ

command "logger" default file path changig

 
Chandrahasa s
Valued Contributor

command "logger" default file path changig

Hi masters,

As default logger is used to log message to syslog file.

If I want to make logger command to update other file may be like /tmp/templog(not /var/adm/syslog/sylog.log) which syntax I should use??
OS HPUX 11iv3
Chandra

Chandra
2 REPLIES 2
Manix
Honored Contributor

Re: command "logger" default file path changig

Have a look @ /etc/syslog.conf file

syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog

http://h30499.www3.hp.com/t5/Languages-and-Scripting/Syslog-conf/m-p/5060368#M36554

HP-UX been always lovable - Mani Kalra
Chandrahasa s
Valued Contributor

Re: command "logger" default file path changig

hiii