Syslog configuration help

Alexander Dalloz ad+lists at uni-x.org
Wed Feb 22 11:48:58 UTC 2006


Am Mi, den 22.02.2006 schrieb Dan Track um 12:26:

> I'm trying to get all my cisco equipment to log to my server. I've
> managed to get it logging, but I'm getting duplicate logging. The logs
> are going into the correct cisco log files, but they are also going
> into /var/log/messages. my question is is there a "none" statement to
> place in the messages log line, or something else to fix this?

Add "local6.none;local5.none;local4.none" to the line for
/var/log/messages. Or shorter "local6,local5,local4.none".

> Currently my syslog.conf file looks like this:
> 
> # 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

[ ... ]

> local6.*                                               
> /opt/log/cisco-switch.log
> local5.*                                               
> /opt/log/cisco-router.log
> local4.*                                               
> /opt/log/cisco-firewall.log
> 
> Thanks in advance
> Dan

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 12:47:13 up 1 day, 17:15, load average: 0.37, 0.2
6, 0.16 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060222/3917b3df/attachment-0001.sig>


More information about the fedora-list mailing list