From: Michael Tremer Date: Thu, 30 Jan 2025 08:28:47 +0000 (+0000) Subject: jobs: Pass all log messages on to the upstream logger X-Git-Tag: 0.9.30~287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=274c20e54400d7c99d0a5006888f9d86e4b5b981;p=pakfire.git jobs: Pass all log messages on to the upstream logger Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/job.c b/src/pakfire/job.c index a02419fc..64caecfb 100644 --- a/src/pakfire/job.c +++ b/src/pakfire/job.c @@ -629,10 +629,8 @@ static void pakfire_job_log(void* data, int priority, const char* file, } } -#if 0 - // Pass everything on to syslog - pakfire_log_syslog(NULL, priority, file, line, fn, format, args); -#endif + // Pass everything to the upstream logger + pakfire_ctx_log_condition(job->ctx, priority, "%s", buffer); } static int pakfire_job_child(struct pakfire_job* job) {