[issue6314] logging.basicConfig(level='DEBUG', ... and setLevel(DEBUG) result in no logging

2009-07-30 Thread Vinay Sajip
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 ___

[issue6314] logging.basicConfig(level='DEBUG', ... and setLevel(DEBUG) result in no logging

2009-07-13 Thread Vinay Sajip
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

[issue6314] logging.basicConfig(level='DEBUG', ... and setLevel(DEBUG) result in no logging

2009-07-07 Thread Vinay Sajip
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

[issue6314] logging.basicConfig(level='DEBUG', ... and setLevel(DEBUG) result in no logging

2009-07-06 Thread R. David Murray
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,

[issue6314] logging.basicConfig(level='DEBUG', ...

2009-06-21 Thread Vinay Sajip
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 ___

[issue6314] logging.basicConfig(level='DEBUG', ...

2009-06-20 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - vsajip nosy: +vsajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6314 ___ ___

[issue6314] logging.basicConfig(level='DEBUG', ...

2009-06-19 Thread alexl
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