Adapt to expected output
Test expected outout and raise expected errors if syslog is not available.