This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年11月21日 12:18 by Jovik, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| logginghandler.py | Jovik, 2012年11月21日 12:18 | Example logging.basicConfig() code with handlers | ||
| Messages (2) | |||
|---|---|---|---|
| msg176052 - (view) | Author: Jovik (Jovik) | Date: 2012年11月21日 12:18 | |
Using logging.basicConfig() with Python 3.2.3 accepts handlers options without any errors. It creates an empty file. I don't think this should be default behaviour, sice it's very missleading (no exception thrown; no warning on standard output or in the file) |
|||
| msg176363 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年11月25日 15:17 | |
New changeset d7660ccd8470 by Vinay Sajip in branch '3.2': Closes #16521: Improved error handling for basicConfig(), added tests for same. http://hg.python.org/cpython/rev/d7660ccd8470 New changeset 4b522a1c9c27 by Vinay Sajip in branch '3.3': Null merge for fix for #16521. http://hg.python.org/cpython/rev/4b522a1c9c27 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:38 | admin | set | github: 60725 |
| 2012年11月25日 15:17:37 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg176363 resolution: fixed stage: resolved |
| 2012年11月25日 14:45:43 | vinay.sajip | set | assignee: vinay.sajip nosy: + vinay.sajip |
| 2012年11月21日 12:18:21 | Jovik | create | |