where does log_daemon_msg and related functions post there output
Markus Schönhaber
ubuntu-users at list-post.mks-mail.de
Thu Dec 17 13:25:03 UTC 2009
17.12.2009 13:47, Peter Sørensen:
> I have a most annoying problem with a init script that won't start on boot but when started manually - no problem.
>
> In trying to figure out what's happening I'm looking for the output of the lsb functions log_daemon_msg and related
> but I can't find it anywhere so what am I missing ? Should'nt that be somewhere in the /var/log/<whatever> ??
Take a look at
/lib/lsb/init-functions
and
/etc/lsb-base-logging.sh
As I understand it, the messages are printed the console and written to
usplash (if applicable).
If you want to have the output of those functions appear in a file, you
could redirect or tee them there.
--
Reagrds
mks
More information about the ubuntu-users
mailing list