Don't puts inside the logger formatter [#63771746]

The puts inside the logger formatter made it so that the logger output was spit out to STDOUT, even if you set the logging device to something else (like STDERR).