Package: rsyslog
Version: 3.18.5-1
Severity: normal

Reading /etc/rsyslog.conf:

,----
| # First some standard log files.  Log by facility.
| # [...]
| mail.*                                -/var/log/mail.log
| user.*                                -/var/log/user.log
| 
| #
| # Logging for the mail system.  Split it up so that
| # it is easy to write scripts to parse these files.
| #
| mail.info                     -/var/log/mail.info
| mail.warn                     -/var/log/mail.warn
| mail.err                      /var/log/mail.err
`----

, as a layman I would assume that mail.log is a catch-all file, errors
go to mail.err, warnings to mail.warn and information to mail.info.
However, when I look into the files, the warnings and errors also show
up in mail.info which makes this file rather redundant.  In fact, it
always has the same content as mail.log:

,----
| % for ext in {,.1,.{2,3,4}.gz}; do diff -s /var/log/mail.{info,log}$ext; done
| Files /var/log/mail.info and /var/log/mail.log are identical
| Files /var/log/mail.info.1 and /var/log/mail.log.1 are identical
| Files /var/log/mail.info.2.gz and /var/log/mail.log.2.gz are identical
| Files /var/log/mail.info.3.gz and /var/log/mail.log.3.gz are identical
| Files /var/log/mail.info.4.gz and /var/log/mail.log.4.gz are identical
`----

My MTA is postfix, if that makes a difference.


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.27.8-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsyslog depends on:
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  lsb-base               3.2-20            Linux Standard Base 3.2 init scrip
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages rsyslog recommends:
ii  logrotate                     3.7.1-5    Log rotation utility

Versions of packages rsyslog suggests:
pn  rsyslog-doc                   <none>     (no description available)
pn  rsyslog-mysql | rsyslog-pgsql <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to