Remove leftovers

Cleanup, no functional change.
Use syslog when not running in test mode

Better use syslog when not running in test mode because logs will be
available on the systemd journal.