Article View: aus.computers.linux
Article #47370Re: syslog question
From: greyman
Date: Mon, 11 Jan 1999 00:00
Date: Mon, 11 Jan 1999 00:00
66 lines
3020 bytes
3020 bytes
I don't know anything about ipchains, but I find it is gooood to split up the syslog messages so it make it easier to find errors or particular things. You could also use something like this to find out where ipchains is reporting. Here is the one I use at the moment: ========================================= # Store general critical stuff in critical # *.=panic;kern.none /var/log/panic *.=alert;kern.none /var/log/alert *.=crit;kern.none /var/log/critical # Kernel stuff here # kern.* /var/log/kernel-info kern.=crit /var/log/kernel-crit kern.=alert /var/log/kernel-alert kern.=panic /var/log/kernel-panic # Log all warnings and errors together # *.=warn,*.=err /var/log/errors # Log anything (except mail) of level info # and notice. Don't log mail or private # authentication messages! *.=info,*.=notice;mail.none;authpriv.none;local1.none /var/log/messages # The authpriv file has restricted access. authpriv.* /var/log/secure # Log all mail stuff in one place. # mail.*;mail.!=info /var/log/mail # Save mail info here # mail.=info /var/log/mail-info # Everybody gets emergency messages, plus # log them on another machine. *.emerg * # Put all debug messages together *.=debug /var/log/debug # Log all router things. local1.* /var/log/router ========================================= Does this give the idea? Greyman graham@gmcs.com.au HeTTaR wrote in message <36975AC2.2BFAB41A@uq.net.au>... >I'm trying to figure out how I can get syslog to log messages from >my ipchains setup to a file other than /var/log/messages. perferably >something like /var/log/ipchains. I know that if it can be done I need >to edit he /etc/syslog.conf file and add the appropriate information. >However I ma uncertain of what to add and the man page gives me the >impression it can't be done. > >so can this be done and if so how ?
Technical Details
Message-ID:
<AVim2.18$Rs2.924@nsw.nnrp.telstra.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36975AC2.2BFAB41A@uq.net.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,2918af116d10e85f X-Google-Attributes: gid102983,public From: "greyman" <graham@gmcs.com.au> Subject: Re: syslog question Date: 1999/01/11 Message-ID: <AVim2.18$Rs2.924@nsw.nnrp.telstra.net> X-Deja-AN: 431170993 References: <36975AC2.2BFAB41A@uq.net.au> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@telstra.net X-Trace: nsw.nnrp.telstra.net 916044512 203.46.81.139 (Mon, 11 Jan 1999 19:48:32 EST) Organization: Telstra Big Pond Direct NNTP-Posting-Date: Mon, 11 Jan 1999 19:48:32 EST Newsgroups: aus.computers.linux