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

Re: Syslog configuration help



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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