syslog daemon facilty

Maurizio Marini maumar at datalogica.com
Sun Jul 17 12:34:19 UTC 2011


On Sun, 17 Jul 2011 19:19:46 +0930
Tim <ignored_mailbox at yahoo.com.au> wrote:

> On Sun, 2011-07-17 at 07:55 +0200, Maurizio Marini wrote:
> > why to not have daemon syslogging on a different file like on debian
> > distro families?
> 
> Do you mean differently than:
> 
>   The SMTP server having its own log file
>   The HTTP server having its own log file
>   The DHCP server having its own log file
>   ...
> 
> /var/log/messages is the generic leftovers destination.
> 
i mean, very simply, that out of the box rsyslog.conf should be:

[code]
# Log anything (except mail and daemon) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none;daemon.none                /var/log/messages

# Log daemon stuff
daemon.*								/var/log/daemon.log

# The authpriv file has restricted access.
authpriv.*                                              /var/log/secure
[/code]

and debian should add 

[code]
# Log cron stuff
cron.*                                                  /var/log/cron
[/code]

this is a very personal point of view, of course ;)


m.



More information about the users mailing list