logging: If logfile is '/dev/null', force console-only mode.