Re: syslog -r remote logging to /var/log/messages as well as configured log file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Gene Delitzoy wrote:
I have a device logging to my server but it logs in /var/log/messages as
well as /var/log/pix.log.
here is my syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* /var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
# Save messages to pix.log
local6.* /var/log/pix.log

What should I change so that it will only log to /var/log/pix.log.



I'm a little bit confused. We start our machine that is _receiving_ remote syslogs with:

        daemon syslogd -r

It can then receive inbound syslog requests from our other nodes.
They would have their syslog.conf file set up with lines like:

# log everything to lager

In your proposed setup, you're asking to log everything to a file.

## *.* is all sources and all levels.  So you could do:
*.*			/var/log/pix.log

So, what ARE you trying to do? Matt Temple

Matthew Temple                Tel:    617/632-2597
Director, Research Computing  Fax:    617/582-7820
Dana-Farber Cancer Institute  mht@xxxxxxxxxxxxxxxxxxxxxxxxx
44 Binney Street,  ML105
Boston, MA 02115              Choice is the Choice!

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux