Remove redundant checks.

Fixes #5071
Use a file for the default log (instead of syslog).

Fixes #5119