ITS#6949 honor specified loglevel, not just debuglevel But skip calls to syslog() if logfile_only is set.