what is LOCAL0 through LOCAL7 ?
hey, can somebody here explain me what is LOCAL0 through LOCAL7?
Thanks, |
man syslog.conf
|
hey, i checked syslog.conf already, but i don't see any mention to LOCAL.
|
Oh! another thing that need an explaination again.
what is named pipes? i saw somewhere FIFO is refered to as named pipes? what is that? |
That's a tough one ... Named Pipes
|
anyway, can somebody help me with the LOCAL?
Thanks, |
rsyslog.conf file
the /etc/rsyslog.conf file exists in the BSD and linux distributions
in contrast to the SYSV-driven systems such as HP-UX and Solaris which use the file /etc/syslog.conf the rsyslog.conf is the configuration file of /sbin/rsyslogd you can find out about local0 to 7 by man rsyslog.conf |
local0-local7
another thing is that :
local0-local7 are local facilities defined by the user, to log specific deamons for example: you can change the sshd_config file ( which is the configuration file of the sshd deamon ) from Syslogfacility authpriv to Syslogfacility local7 and add the following line in the /etc/rsyslog.conf file local7.* /var/log/sshd.log after restarting rsyslogd and sshd, any ssh sessions to the server will be logged in the /var/log/sshd.log file |
Local0 to local7 can be personalized as above
But the default is already included in /etc/rsyslog.conf
# Save boot messages also to boot.log local7.* /var/log/boot.log |
All times are GMT -5. The time now is 06:08 PM. |