This trivial patch ensures that failure to write logs direct to the console simply discards the failed message.
This trivial patch ensures that failure to write logs direct to the console simply discards the failed message.