From: meisterluk Date: Sat, 4 May 2013 19:57:57 +0000 (+0200) Subject: Fix FORMAT definition for logging module. X-Git-Tag: v0.13.7~3 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=cdb4aa447297942b280ff7e91dd135c397a43db7;hp=cdb4aa447297942b280ff7e91dd135c397a43db7 Fix FORMAT definition for logging module. Level does not specify that only messages of this level are printed out, but the minimum level. So a definition like this FORMAT = "Debug: %(asctime)-15s %(message)s" FORMAT = "%(asctime)-15s %(message)s" misleads the user into thinking that every message printed out is actually a debug message, which is not true. We now use "%(message)s" for everything except verbose mode which annotates the timestamp to the message. ---