python: Do not include time stamp in syslog messages.
authorAndy Zhou <azhou@nicira.com>
Thu, 28 Feb 2013 03:20:07 +0000 (19:20 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 28 Feb 2013 17:44:10 +0000 (09:44 -0800)
commit420f4b467cf8567607de6bf8ca15eb58e48114e4
treef8d9e14ca55012e120451f3bea25009741bfdadc
parent9eeb949bbaf75565ab2330ea26ae467d87ec194d
python: Do not include time stamp in syslog messages.

vlog.py currently generates the same log messages, starts with the time stamp
information, for console, syslog and file. All messages start with current
time stamp information.

Syslogd, by default, prepends time stamp with each message already. Thus
the time stamp generated by vlog.py is redundant.

This patch removes time stamp from the message before vlog.py sends it
to syslogd.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
python/ovs/vlog.py