Log at info level the success of a luxi query
authorKlaus Aehlig <aehlig@google.com>
Mon, 29 Apr 2013 12:08:17 +0000 (14:08 +0200)
committerKlaus Aehlig <aehlig@google.com>
Mon, 29 Apr 2013 14:49:07 +0000 (16:49 +0200)
commit3e0c2a24a53823b36a2cd5f8a79393fcd9c998a1
treef75801fa7fa40dce0c7de2488da6ac182a394c6a
parent61f3d56eec2303911929cfca7d9f2a92a26e7973
Log at info level the success of a luxi query

So far, any successful query was only logged at debug level, thus leaving
no traces in the logs, unless debugging was enabled. Therefore, we add
a notes about successful completion at info level. Also, repeat a failed
request at WARN level, so that, even if debugging disabled, the request
is available together with the error message in the logs.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
src/Ganeti/Query/Server.hs