Don't log to console when logging to a file