core: adjust job completion message log levels
authorMichal Schmidt <mschmidt@redhat.com>
Tue, 21 Jul 2015 17:07:24 +0000 (19:07 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Tue, 21 Jul 2015 17:28:17 +0000 (19:28 +0200)
commit64f575d2ab9a6743d3c7172b7591c88ba243cf1b
tree8c38eb884c1fba43031a83d75bdad13b4be0c5d3
parentb81bbe5355b97d0d7dbe8796afd39bf284696063
core: adjust job completion message log levels

We do not print all non-OK job completion status messages to the console
in red, because not all of them are plain errors. We do however log the
same messages as LOG_ERR.

Differentiate the log levels by deducing them from the job result in a
way that more or less matches the color of the console message.
src/core/job.c