1835243 Members
2248 Online
110078 Solutions
New Discussion

/etc/syslog.conf

 
SOLVED
Go to solution
Michel Dijkhuizen
Occasional Advisor

/etc/syslog.conf

Hi there,

I'm ask to configure a standard /etc/syslog.conf file. I know how to configure this.

What's the best layout for a standard /etc/syslog.conf file to get the right messages in the right log files /var/adm/syslog/*.log

How does the priority specifiers (debug,info,alert,emerg,etc..) work?

Thnx,
Michel

5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: /etc/syslog.conf

Hi:

See the man pages:

# man 1M syslogd

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: /etc/syslog.conf

Hi:

See the man pages:

# man 1M syslogd

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: /etc/syslog.conf

Hi (again);

You might find the response by Andreas Voss, in the link below, very useful in answering your question, too.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf7f05f260cafd4118fef0090279cd0f9,00.html

...JRF...
Berlene Herren
Honored Contributor
Solution

Re: /etc/syslog.conf

there is a default syslog.conf in /usr/newconfig/etc. Just copy it over to /var/adm/syslog.

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
John Waller
Esteemed Contributor

Re: /etc/syslog.conf

Instead of man 1m syslogd try man 3c syslog. This gives more details about the different message levels and options available, i.e, debug information of use only when debugging a program, emerg , a panic condition, etc.