core: do not print color console message about gc-ed jobs
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 1 Jul 2017 23:05:36 +0000 (19:05 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 1 Jul 2017 23:10:48 +0000 (19:10 -0400)
commit047d7219fde661698d3487fc49e9878c61eefd77
treeb416345ac99fe0b1eef6966d670d16533f0a234b
parent74d8f1c55b5aa46d2745fa4a74ae9fced6a3cab8
core: do not print color console message about gc-ed jobs

This is just a cosmetic issue.

Garbage collection of jobs (especially the ones that we create automatically)
is something of an internal implementation detail and should not be made
visible to the users. But it's probably still useful to log this in the
journal, so the code is rearranged to skip one of the messages if we log to the
console and the journal separately, and to keep the message if we log
everything to the console.

Fixes #6254.
src/core/job.c