File Logging duplicating in console

 I am trying to log all levels to a file and only higher levels to the console in Python 3.6. File logging works well and is shown in the active log file tab in the Run Window. The higher level logs are also shown correctly in the console. However the file logs are mirrored in the console without the correct formatting and in red font.

Others have run the code successfully in Pycharm 2016. So the Python code looks solid which suggests I have a Pycharm configuration error (or worse) ??

I am running:

PyCharm 2017.3.1 (Community Edition)
Build #PC-173.3942.36, built on December 13, 2017
JRE: 1.8.0_152-release-1024-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.2

Any ideas ??

0

Please sign in to leave a comment.