
27 Sep
2012
27 Sep
'12
12:44 p.m.
From: "Daniel P. Berrange" <berrange@redhat.com> The virInitialize function initializes logging from the env, so there is no need for another call to virLogSetFromEnv Signed-off-by: Daniel P. Berrange <berrange@redhat.com> --- daemon/libvirtd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index e9e2e59..b49acc5 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -990,9 +990,6 @@ int main(int argc, char **argv) { exit(EXIT_FAILURE); } - /* initialize early logging */ - virLogSetFromEnv(); - if (strstr(argv[0], "lt-libvirtd") || strstr(argv[0], "/daemon/.libs/libvirtd")) { char *tmp = strrchr(argv[0], '/'); -- 1.7.11.4