Don't initialize logging twice in libvirtd

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>
This commit is contained in:
Daniel P. Berrange 2012-09-27 17:27:17 +01:00
parent e8fd8757c8
commit 90af1babd4
1 changed files with 0 additions and 3 deletions

View File

@ -976,9 +976,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], '/');