ENH: Enable full logging of python error and warning messages
Currently, if a non-debug message is logged from Python (using logging.info, logging.warning, logging.error) then the following appears in the log:
[CRITICAL][Stream] 11.02.2016 14:28:29 [] (unknown:0) - this is a warning message
If we enable full logging of non-debug messages then we get file name and line number as well:
[WARNING][Python] 11.02.2016 14:28:29 [Python] (MyLoggingTest.py:123) - this is a warning message
[CRITICAL][Stream] 11.02.2016 14:28:29 [] (unknown:0) - this is a warning message
The change in this commit enables full logging of non-debug messages, which has the slight disadvantage of having two entries for each error (one corresponding to the message appearing on the Python console and the other is the actual error log) but it provides the filename and line number, which is very useful for debugging.