Package: rsyslog
Version: 3.16.2-1
Severity: wishlist

Hi,

this might be an upstream issue.

I'd like to completely disable Debian's default log locations. I can
do this by commenting out the configuration from /etc/rsyslog.conf,
but would have live with dpkg-conffile questions every time an update
happens.

IMO, it would be better to have the actual logging in
/etc/rsyslog.d/zz_default_debian so that one can simply delete the file.

I have solved this temporarily by a file
/etc/rsyslog.d/00_zgserver.conf:
auth.*,authpriv.*                       /var/log/syslog/auth.log
*.*;auth.none,authpriv.none             -/var/log/syslog/syslog

*.emerg                                 *

*.*                                     ~

This does not, however, keep rsyslog from creating the normal files in
/var/log, and from complaining that /var/log/syslog is a directory
now. This is an acceptable workaround, but I'd love to have a more
elegant solution.

It would for example be possible to implement an option that keeps new
files from being actually created until the first message is actually
written to it, with the default being "create the file on rsyslogd
startup" for compatibility.

Greetings
Marc

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.9-scyw00225 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rsyslog depends on:
ii  libc6                  2.7-12            GNU C Library: Shared libraries
ii  lsb-base               3.2-12            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-3    Log rotation utility

-- no debconf information



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

Reply via email to