logger: create syslog handler only if required
ClosedPublic

Authored by kparal on Jul 24 2014, 1:01 PM.

Details

Summary

Syslog doesn't have to be available on the machine (e.g. in a mock
environment). The handler creation then fails. Let's create it only when
specifically requested.

Test Plan

unit tests pass, rpmlint task works

Diff Detail

Repository
rLTRN libtaskotron
Lint
Lint Skipped
Unit
Unit Tests Skipped
kparal retitled this revision from to logger: create syslog handler only if required.Jul 24 2014, 1:01 PM
kparal updated this object.
kparal edited the test plan for this revision. (Show Details)
kparal added reviewers: tflink, mkrizek, jskladan.
tflink accepted this revision.Jul 24 2014, 1:07 PM

libtaskotron rpm builds do work with this patch.

This revision is now accepted and ready to land.Jul 24 2014, 1:07 PM
mkrizek accepted this revision.Jul 24 2014, 1:25 PM
kparal closed this revision.Jul 24 2014, 1:27 PM
kparal updated this revision to Diff 563.

Closed by commit rLTRN6e696cb045d5 (authored by @kparal).