vlog: Don't fail syslog initialization in chroot.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 28 Jan 2015 21:12:11 +0000 (13:12 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Thu, 29 Jan 2015 19:00:35 +0000 (11:00 -0800)
commit7905aae3fc1633c2c44c8fdb9e9d3a3d6e63439b
treeccae9354b345cde06ea59ee5c6282bafdf5aea09
parent491c2ea3230f53ecbe65a556a0a1cc68647d7b99
vlog: Don't fail syslog initialization in chroot.

When OVS unit tests are run inside chroot environment,
there is no syslog infrastructure available. In a
situation like that, don't fail or log additional messages
to syslog by increasing the severity level of syslog very high
(log messages would continue to be logged to console and file).

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
python/ovs/vlog.py