Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
No feedback, closing.
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6314
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Fixed checked into trunk py3k as per msg90214.
--
resolution: - fixed
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6314
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
The change that I made was in the wrong place - it should have been in
the setLevel rather than in basicConfig itself. However, this would not
have covered setLevel for Handlers...
That setLevel behaves differently to basicConfig for the
R. David Murray rdmur...@bitdance.com added the comment:
There is still a problem here, though not something a typical user would
run into:
rdmur...@partner:~/python/trunk./python
Python 2.7a0 (trunk:73845M, Jul 4 2009, 12:43:10)
[GCC 4.1.2 (Gentoo 4.1.2)] on linux2
Type help, copyright,
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Fix checked into trunk and py3k.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6314
___
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - vsajip
nosy: +vsajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6314
___
___
New submission from alexl alex_luka...@mail.ru:
The following code runs w/o exceptions, but log file is empty:
import logging
logging.basicConfig(level='DEBUG', filename='log.txt')
logging.info('Oh hi!')
To avoid such silent error, basicConfig must either throw exception on
invalid level