Emmanuel Arias <emmanuelaria...@gmail.com> added the comment:

> The call to logging.error() is irrelevant, since there's no expectation that 
> the module-level function will necessarily output the same as a method of a 
> specific instance logger.error().

That's true. Maybe and warning or Exception can be raise?


> It looks like a bug to *me*, but I'm not a logging expert. I'm seeing the 
> same behaviour in 3.5 and 3.7, but in 2.7.1 the first call to logger.error 
> prints an error message:

and 3.8?

----------
nosy: +eamanu

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35530>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to