Blame SOURCES/cups-logs.patch
|
|
ad8523 |
diff --git a/scheduler/log.c b/scheduler/log.c
|
|
|
ad8523 |
index 17331ff02..41ddb4cb9 100644
|
|
|
ad8523 |
--- a/scheduler/log.c
|
|
|
ad8523 |
+++ b/scheduler/log.c
|
|
|
ad8523 |
@@ -569,11 +569,7 @@ cupsdLogJob(cupsd_job_t *job, /* I - Job */
|
|
|
ad8523 |
* Format and write the log message...
|
|
|
ad8523 |
*/
|
|
|
ad8523 |
|
|
|
ad8523 |
-#ifdef HAVE_SYSTEMD_SD_JOURNAL_H
|
|
|
ad8523 |
- if (job && strcmp(ErrorLog, "syslog"))
|
|
|
ad8523 |
-#else
|
|
|
ad8523 |
if (job)
|
|
|
ad8523 |
-#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */
|
|
|
ad8523 |
snprintf(jobmsg, sizeof(jobmsg), "[Job %d] %s", job->id, message);
|
|
|
ad8523 |
else
|
|
|
ad8523 |
strlcpy(jobmsg, message, sizeof(jobmsg));
|