On 09/27/2012 10:44 AM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange(a)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(a)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();
-
ACK.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org