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.

On Mon, May 30, 2011 at 10:10 AM, Petri Lehtinen <report@bugs.python.org> wrote:

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>
_______________________________________



--
Martin Ponweiser
Frauengasse 4/8, 2700 Wr. Neustadt, Austria
cell phone: 0043 650-68 27 949 (no SMS inbox)