chiark / gitweb /
log: don't open log targets too early
authorLennart Poettering <lennart@poettering.net>
Fri, 11 Jun 2010 10:31:50 +0000 (12:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 11 Jun 2010 10:31:50 +0000 (12:31 +0200)
src/log.c

index 94fb823..265a7f1 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -192,7 +192,6 @@ void log_set_target(LogTarget target) {
         assert(target < _LOG_TARGET_MAX);
 
         log_target = target;
-        log_open();
 }
 
 void log_set_max_level(int level) {