]> err.no Git - systemd/commitdiff
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 94fb8233581b82cbf05f3c597b3a550fbce66e5e..265a7f10e28e2ee1d624b899c69320a2c768a897 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) {