Replace custom logging code in watcher with logging module
authorMichael Hanselmann <hansmi@google.com>
Wed, 18 Jun 2008 12:29:37 +0000 (12:29 +0000)
committerMichael Hanselmann <hansmi@google.com>
Wed, 18 Jun 2008 12:29:37 +0000 (12:29 +0000)
commit438b45d4cd91bfc561cdc294e1706a7008a1ad0c
tree083eb73d405e7b1d71a46e67063f2a58f17ef93a
parente91ffe49c804266a4181ae80abc12f7cf4b74b14
Replace custom logging code in watcher with logging module

- Log timestamp for all messages
- Write everything to logfile and optionally to stderr
- Log messages are no longer buffered, allowing a user to see progress

Reviewed-by: ultrotter
daemons/ganeti-watcher
lib/constants.py