Logging always goes to stdout. As long as the code runs after the SetupLogging which most statements do. This change ensures that the text is written to stdout and the log file.