Package: nslcd
Version: 0.7.10+joke21
Severity: wishlist
Tags: patch upstream

nslcd includes the pid in the message part if it's logging to syslog.
Since syslog logs the pid in an individual field adding the pid to the
message field is redundant.


--- nslcd/log.c.orig    2010-10-19 12:32:03.849793896 +0200
+++ nslcd/log.c 2010-10-19 12:32:23.719851193 +0200
@@ -187,12 +187,7 @@
       if (pri<=lst->loglevel)
       {
         if (lst->fp==NULL) /* syslog */
-        {
-          if (sessionid)
-            syslog(pri,"[%s] %s",sessionid,buffer);
-          else
             syslog(pri,"%s",buffer);
-        }
         else /* file */
         {
           if (sessionid)


-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-security
  APT policy: (992, 'maverick-security'), (991, 'maverick-updates'), (990, 
'maverick'), (989, 'maverick-proposed'), (988, 'maverick-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-22-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nslcd depends on:
ii  adduser            3.112ubuntu1          add and remove users and groups
ii  debconf [debconf-2 1.5.32ubuntu3         Debian configuration management sy
ii  libc6              2.12.1-0ubuntu7       Embedded GNU C Library: Shared lib
ii  libgssapi-krb5-2   1.8.1+dfsg-5ubuntu0.1 MIT Kerberos runtime libraries - k
ii  libldap-2.4-2      2.4.23-0ubuntu3       OpenLDAP libraries
ii  upstart [upstart-j 0.6.6-3               event-based init daemon

Versions of packages nslcd recommends:
ii  libnss-ldapd [libnss-lda 0.7.10+joke21   NSS module for using LDAP as a nam
ii  libpam-ldapd [libpam-lda 0.7.10+joke21   PAM module for using LDAP as an au
ii  nscd                     2.12.1-0ubuntu7 Embedded GNU C Library: Name Servi

Versions of packages nslcd suggests:
pn  kstart                        <none>     (no description available)

-- debconf information excluded



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

Reply via email to