Logging all messages to specified log file when --publish is not used