You are right, I should have looked closer -- sorry to all involved. Nevertheless this caused some confusion here. I guess mentioning the inconsistency in the documentation is out of the question.
Petri Lehtinen <petri@digip.org> added the comment:
The name of the "level" parameter to LogRecord constructor is correct in the documentation (I checked the code). The only inconsitency that I see is that the corresponding attribute name of LogRecord is "levelno".
----------
nosy: +petri.lehtinen
_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue12206>
_______________________________________