log: don't open log targets too early

This commit is contained in:
Lennart Poettering 2010-06-11 12:31:50 +02:00
parent 7020e8be3f
commit 3930341a76

View File

@ -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) {