chiark / gitweb /
put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch]
[elogind.git] / src / journal / journald.c
index f341b8742b038498891ef95d698a0e4d891d5e7c..ea23cff26e108e6875d52b19458c5c2e88dd81b2 100644 (file)
@@ -35,6 +35,7 @@
 #include <systemd/sd-messages.h>
 #include <systemd/sd-daemon.h>
 
+#include "mkdir.h"
 #include "hashmap.h"
 #include "journal-file.h"
 #include "socket-util.h"
@@ -2765,6 +2766,7 @@ int main(int argc, char *argv[]) {
         }
 
         log_set_target(LOG_TARGET_CONSOLE);
+        log_set_facility(LOG_SYSLOG);
         log_parse_environment();
         log_open();