do not for if run with --foreground

previously this was combined with --debug, but in some cases you may
want foreground but the logging still go to syslog or a file