Commit 2b56175e authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

log: Don't print time-stamp on LOG_MSG

Otherwise "show" action become unreadable.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 16ca152d
......@@ -189,7 +189,8 @@ void print_on_level(unsigned int loglevel, const char *format, ...)
fd = current_logfd;
}
print_ts();
if (loglevel != LOG_MSG)
print_ts();
va_start(params, format);
size = vsnprintf(buffer + buf_off, PAGE_SIZE - buf_off, format, params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment