Two small logging improvements
authorIustin Pop <iustin@google.com>
Tue, 6 Nov 2012 14:14:55 +0000 (15:14 +0100)
committerIustin Pop <iustin@google.com>
Mon, 12 Nov 2012 10:02:39 +0000 (11:02 +0100)
commit48483a2edee1e3af671b651b4bf174ba31b6f937
treeebb1a46eb3726a5e84b640cd2ff0a8ce28a88c6e
parent73b16ca18af2b0a302138eb4c054e0dd32b8f62c
Two small logging improvements

The "starting" message is changed to match the Python one, and in case
the preparation fails, we also log the error (beside printing it on
stderr or writing it to the error reporting pipe), as at this time
logging is usually set up.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
htools/Ganeti/Daemon.hs