Add better error logging functions for LUs
authorIustin Pop <iustin@google.com>
Tue, 6 Nov 2007 17:01:20 +0000 (17:01 +0000)
committerIustin Pop <iustin@google.com>
Tue, 6 Nov 2007 17:01:20 +0000 (17:01 +0000)
commit0fbbf897ca1b56c189edf1a9effc9a9a7bdd6052
tree932a24b4b7cd3319297f33dc25fb23303637939b
parent03ece5f3a513a91c3dacabd806b7c5049aa1f038
Add better error logging functions for LUs

Currently, some LUs use logger.Error, others just feedback_fn, etc. This
patch adds three functions to mcpu.Processor than can be used to log
messages to both the log and to the user.

These function will be used to enhance the output of replace-disks for
drbd8 (at least).

Reviewed-by: imsnah
lib/mcpu.py