This is now possible as we have the new event loop.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
return r;
}
+ // Setup logging
+ r = pakfire_log_stream_in_parent(ctx->log.INFO, ctx->loop);
+ if (r)
+ return r;
+
+ r = pakfire_log_stream_in_parent(ctx->log.ERROR, ctx->loop);
+ if (r)
+ return r;
+
+#ifdef ENABLE_DEBUG
+ r = pakfire_log_stream_in_parent(ctx->log.DEBUG, ctx->loop);
+ if (r)
+ return r;
+#endif /* ENABLE_DEBUG */
+
// Setup UID mapping
r = pakfire_jail_setup_uid_mapping(jail, ctx->pid);
if (r)