chiark / gitweb /
journal: Don't hold pointers to journal while remapping
[elogind.git] / src / cgroups-agent.c
index e0868b6137034f50446f3c5fa0d9370c1841be05..1bbc8827d745c2a86d132c8f4904f44ed543f304 100644 (file)
@@ -39,11 +39,10 @@ int main(int argc, char *argv[]) {
                 goto finish;
         }
 
-        log_set_target(LOG_TARGET_SYSLOG_OR_KMSG);
+        log_set_target(LOG_TARGET_AUTO);
         log_parse_environment();
         log_open();
 
-
         /* We send this event to the private D-Bus socket and then the
          * system instance will forward this to the system bus. We do
          * this to avoid an activation loop when we start dbus when we
@@ -94,7 +93,6 @@ finish:
                 dbus_connection_unref(bus);
         }
 
-
         if (m)
                 dbus_message_unref(m);