]> mj.ucw.cz Git - libucw.git/commit
Logging: Added log_drop_stderr().
authorMartin Mares <mj@ucw.cz>
Thu, 12 Feb 2015 15:41:26 +0000 (16:41 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 12 Feb 2015 15:41:26 +0000 (16:41 +0100)
commit1414fde173e15a9bba630b25ce9c50ec7a38a223
treec9f2b14f61ed11d5f020a53ea9c0201b28ed678f
parent528c3decf4c9b56f48f6f9736544c3807158ff09
Logging: Added log_drop_stderr().

When writing the daemonization module, I assumed that it is not
necessary to close stderr, because it will be replaced by a log
file later. Alas, this is not true for general log streams.

I have added a function, which should be called by the daemon
when it is done with initialization of logging.
maint/libucw.abi
ucw/doc/daemon.txt
ucw/log-file.c
ucw/log.h