diff options
author | Rose <83477269+AtariDreams@users.noreply.github.com> | 2021-09-11 14:23:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-11 14:23:30 -0400 |
commit | 27d73f8d4628853c5a8a245dd83916ce7bc800c7 (patch) | |
tree | 47586196fca9296336715f0c7c8c9e5dc0b398ec | |
parent | d03753f33432c790d7ed6c2487080e09bf884254 (diff) | |
download | cups-27d73f8d4628853c5a8a245dd83916ce7bc800c7.tar.gz |
scheduler/log.c: Use [Job N] even for syslog
Cherry picked from https://github.com/OpenPrinting/cups/pull/154
-rw-r--r-- | scheduler/log.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scheduler/log.c b/scheduler/log.c index 2bd1952f7..efc16ad9d 100644 --- a/scheduler/log.c +++ b/scheduler/log.c @@ -569,11 +569,7 @@ cupsdLogJob(cupsd_job_t *job, /* I - Job */ * Format and write the log message... */ -#ifdef HAVE_SYSTEMD_SD_JOURNAL_H - if (job && strcmp(ErrorLog, "syslog")) -#else if (job) -#endif /* HAVE_SYSTEMD_SD_JOURNAL_H */ snprintf(jobmsg, sizeof(jobmsg), "[Job %d] %s", job->id, message); else strlcpy(jobmsg, message, sizeof(jobmsg)); |