]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Avoid logging non-fatal messages without logging system initialization.
authorVMware, Inc <>
Wed, 18 Sep 2013 03:30:43 +0000 (20:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Sep 2013 05:13:29 +0000 (22:13 -0700)
commitc1a77415dc90d322b8ffddd93c2f820bfab76a09
treeea2b50673438fdf6a6e434c84f610c1a04cff7f1
parent1c9c43caa766bfd6222ee994e9d97f0fefeeedf9
Avoid logging non-fatal messages without logging system initialization.

Logs that come before logging system intialization spam the
console output. Therefore, we make the logging a no-op for
non-fatal messages until logging system has been initialized.
Usually, we initialize the logging system when process starts up,
so we will swallow only those non-fatal log messages that are
generated during very early stages of process initialization.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/libvmtools/vmtoolsLog.c