severity 646425 wishlist
thanks

Hi!

On Mon, 2011-10-24 at 08:49:39 +0200, Sandro Tosi wrote:
> Package: dpkg
> Version: 1.15.8.8
> Severity: important

> there are some daemons that write messages only to stdout/err (so they
> don't have any "logging" capabilities by themselves).
> 
> With the current classic execution line:
> 
>   start-stop-daemon --start --quiet --background --exec $DAEMON -- 
> $DAEMON_OPTS
> 
> those messages are lost, and they are the only form of debugging the daemon
> gives, without them we're forced to start it by-hand (hence the quite high
> severity).

Well, I would not consider anything that requires --background a
proper daemon. As stated on the man page this is a last resort option
with its implied drawbacks.

> Do you think it's feasable to add an option to redirect those messages to a
> file? something like --output /path/to/logfile , so we can look there for
> important msgs.

While it would certainly be possible, I think it would be better to
modify such daemon to do proper daemonization and logging (either to a
file or via syslog), this usually should not amount to many lines of C
code.

thanks,
guillem



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

Reply via email to