Package: sympa Version: 5.3.4-5 Severity: wishlist Tags: patch User: [EMAIL PROTECTED] Usertags: goal-rsyslog
Hi, as you have probably noticed, the default syslog daemon (for lenny) has been switched to rsyslog. sympa uses syslog-facility in postrm/postinst to setup a custom LOCAL facility to log to /var/log/sympa.log rsyslog does not provide a replacement for syslog-facility, so if you want to keep this approach you'd have to grep for an unused local? facility in /etc/rsyslog.conf and /etc/rsyslog.d/*.conf yourself. An alternative approach is, to create a rsyslog config file in /etc/rsyslog.d (it has to have a *.conf suffix) and filter using the program name. A sample /etc/rsyslog.d/sympa.conf file could look like that: :programname, contains, "sympa" /var/log/sympa.log :programname, contains, "wwsympa" /var/log/sympa.log :programname, contains, "task_manager" /var/log/sympa.log :programname, contains, "bounced" /var/log/sympa.log :programname, contains, "archived" /var/log/sympa.log (I'm not certain, if those 5 programnames are all that are used by sympa. If not, please extend this list) You could either ship this as a conffile directly in the sympa package, or create it on demand in postinst, if the binary rsyslogd exists. If you have more questions regarding rsyslog, please ask. Cheers, Michael [1] http://wiki.debian.org/Rsyslog -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (300, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26.3 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]