Bug#385898: [Pkg-openldap-devel] Bug#385898: slapd: add lsb logging

Russ Allbery rra at debian.org
Mon Sep 4 18:14:51 UTC 2006


David Härdeman <david at hardeman.nu> writes:

> Package: slapd
> Version: 2.3.25-1
> Severity: minor
> Tags: patch

> Hi,

> the attached patch changes the slapd init.d script(s) to use lsb
> logging functions.

This doesn't really look like an improvement to me.  We'd be replacing
wrapped messages with unwrapped messages, losing some detail from one of
the messages, and I don't think really improving the output for the user.

The basic idea of the LSB logging functions is a good one, but I've been
rather unsatisfied by how they look in practice.  One of the main things
they do is render any error message much more confusing because it gets
concatenated with status messages all on the same line.  There should be a
better way, although I'm not quite sure what -- maybe something that
intercepts stderr output so that it can add appropriate newlines, wrap
error messages, and make things more readable.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>




More information about the Pkg-openldap-devel mailing list