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

Re: Logging IPTables to file using syslogd




Depending on the distro you are using the syslogd daemon doesn't 
understand the "space" between the syslog facility and action. The "-" is 
used for it to understand the difference between the facility and 
action.  Else it will think "kern.*" and "/var/log/newfile" is this: 
"kern.*/var/log/newfile" which is not a valid syslog facility.

On Wed, 19 Jun 2002, Harry Putnam wrote:

> 
> Duane Dunston <duane@sukkha.info> writes:
> 
> > Add the new file to /etc/syslog.conf
> >
> > kern.*			-/var/log/newfile
> 
> What is the significance of the dash (-)?
> 
> ------------------------------------------------------------------------
>      To unsubscribe email security-discuss-request@linuxsecurity.com
>          with "unsubscribe" in the subject of the message.
> 
> 

-- 
duane

Fun reading...well for some.  8-)
http://www.linuxsecurity.com/feature_stories/dsniff-monitoring.html
http://www.linuxsecurity.com/feature_stories/feature_story-89.html
http://www.linuxsecurity.com/feature_stories/feature_story-88.html


------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Video for Linux]     [Bugtraq]     [USB]     [Fedora Security]

Add to Google Powered by Linux