[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] some suggestions to syslog.conf
From: |
melodramus |
Subject: |
[bug-inetutils] some suggestions to syslog.conf |
Date: |
Mon, 16 Aug 2010 23:51:25 +0200 |
hello
i found a syslog.conf manual on the net--to whatever syslogd package
that may fit--that describes filters for 'programs' and 'hostnames',
like:
# Save ftpd transactions along with mail and news
!ftpd
*.* /var/log/spoolerr
# Save forwards from hostname
+hostname
*.* /var/log/hostname
to better settle this feature into the given syntax, one could turn
the program and hostname identifiers into facilities, like:
&ftpd.warning # log ftpd warnings and higher to XXX
@foo.warning # log warnings and higher from foo to XXX
because there may be many progs and hosts, a group identifier (an alias)
would be nice, like:
$inetd-daemons &ftpd,&telnetd,... # alias the inetd daemons
inetd-daemons.warning # log warnings and higher from the
# progs aliased with 'inetd-daemons'
this could also be used to alias facilities and levels:
$danger =crit,=err
$most *,!auth,!authpriv
most.danger '/var/log/_alert_!!!'
!most.danger '/var/log/urgent'
the above also shows an alternative writing for .none, widening the
usage.
what do you think?
MeloDramus <address@hidden>
- [bug-inetutils] some notes on inetutils-1.8, melodramus, 2010/08/17
- [bug-inetutils] some suggestions to syslog.conf,
melodramus <=
- Re: [bug-inetutils] some suggestions to syslog.conf, Alfred M. Szmidt, 2010/08/17
- Re: [bug-inetutils] some suggestions to syslog.conf, melodramus, 2010/08/17
- Re: [bug-inetutils] some suggestions to syslog.conf, Sergey Poznyakoff, 2010/08/17
- Re: [bug-inetutils] some suggestions to syslog.conf, Alfred M. Szmidt, 2010/08/17
- Re: [bug-inetutils] some suggestions to syslog.conf, Sergey Poznyakoff, 2010/08/17
- Re: [bug-inetutils] some suggestions to syslog.conf, melodramus, 2010/08/17
- Re: [bug-inetutils] some suggestions to syslog.conf, Alfred M. Szmidt, 2010/08/17
- Re: [bug-inetutils] some suggestions to syslog.conf, melodramus, 2010/08/17
- Re: [bug-inetutils] some suggestions to syslog.conf, melodramus, 2010/08/17
- Re: [bug-inetutils] some suggestions to syslog.conf, melodramus, 2010/08/17