added syslog support, and use a pipe to catch logging from child processes to the...
[vlendec/samba-autobuild/.git] / ctdb / server / ctdb_daemon.c
index bdd0fc86c416508c71aab919a28aee8faec2b96d..137b85eee2c2c22a4c13c143ad7b5c324d3aa658 100644 (file)
@@ -656,6 +656,8 @@ int ctdb_start_daemon(struct ctdb_context *ctdb, bool do_fork)
 
        ctdb->ev = event_context_init(NULL);
 
+       ctdb_set_child_logging(ctdb);
+
        /* force initial recovery for election */
        ctdb->recovery_mode = CTDB_RECOVERY_ACTIVE;