1819803 Members
2865 Online
109607 Solutions
New Discussion юеВ

syslog.conf

 
khilari
Regular Advisor

syslog.conf

Hi guys, i wanted to know as to how do u start logging. Like u have syslog.conf file where u can specify it, but how od u direct it for a particular application.
For example i want to log for sendmail or for some new application i just installed.... what enteries i put in the syslog.conf.
Thanks
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: syslog.conf

Hi:

The manpages for 'syslogd(1M)' and 'syslog(3C)' describe the things of which you need to be aware.

Regards!

...JRF...
Tim Nelson
Honored Contributor

Re: syslog.conf

Example of mail entry.
#type and level output file
mail.debug /var/adm/syslog/mail.log


sighup syslogd to reread config file.
vinodan
Advisor

Re: syslog.conf

Dear Khilari,

I think you can refer man page logger .


there is a dedicated facility for customer's application . I feel it is local0 . man syslogd will give u better results .


Thanks ...
Vinod