From: Zdenek Dohnal Date: Mon, 29 Jan 2018 11:48:29 +0000 (+0100) Subject: Same as Lutz Heermann, but for PageLog - respect PageLog configuration when compiled... X-Git-Tag: v2.3b3~8^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aed3d896a7f6becab027c1eb0ef0f0e32b299731;p=thirdparty%2Fcups.git Same as Lutz Heermann, but for PageLog - respect PageLog configuration when compiled with journald --- diff --git a/scheduler/log.c b/scheduler/log.c index 18d916f5f1..74790dc359 100644 --- a/scheduler/log.c +++ b/scheduler/log.c @@ -956,7 +956,7 @@ cupsdLogPage(cupsd_job_t *job, /* I - Job being printed */ *bufptr = '\0'; #ifdef HAVE_SYSTEMD_SD_JOURNAL_H - if (!strcmp(ErrorLog, "syslog")) + if (!strcmp(PageLog, "syslog")) { static const char * const job_states[] = { /* job-state strings */