[issue34107] root.warning('msg') output format modified by logging.warning('msg')

2018-07-13 Thread Michael Kearney
Michael Kearney added the comment: Thanks for the clarification and doc pointers. I saw "lastResort" attribute in the code but had not fully understood what was going on. I am not certain I really do now, but that's ok. That's why we read docs, read and write code. Eventually it starts makin

[issue34107] root.warning('msg') output format modified by logging.warning('msg')

2018-07-13 Thread Vinay Sajip
Vinay Sajip added the comment: This behaviour is as expected. If no handlers are configured for logging, an internal "handler of last resort" is used, with just the message output. See: https://docs.python.org/3/howto/logging.html#what-happens-if-no-configuration-is-provided If you call logg

[issue34107] root.warning('msg') output format modified by logging.warning('msg')

2018-07-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34107] root.warning('msg') output format modified by logging.warning('msg')

2018-07-12 Thread Ned Deily
Change by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue34107] root.warning('msg') output format modified by logging.warning('msg')

2018-07-12 Thread Michael Kearney
New submission from Michael Kearney : 0 >>> import logging 1 >>> root=logging.getLogger(name='root') 2 >>> root.warning('msg') 3 msg <- Compare this line 4 >>> logging.warning('msg') 5 WARNING:root:msg 6 >>> root.warning('msg') 7 WARNING:root:msg