New submission from Piotr Dobrogost: It seems there's no way to pass custom arguments for loggers (http://hg.python.org/cpython/file/d9893d13c628/Lib/logging/__init__.py#l1111) and formatters (http://hg.python.org/cpython/file/d9893d13c628/Lib/logging/config.py#l117) the same way they are being passed to handlers (http://hg.python.org/cpython/file/d9893d13c628/Lib/logging/config.py#l139).
The problem came out when we tried to create base formatter which would read prefix from configuration of formatter to be prepended to all subsequent lines of every multi line message. ---------- components: Library (Lib) messages: 193172 nosy: piotr.dobrogost, vinay.sajip priority: normal severity: normal status: open title: No way to pass custom arguments for loggers and formatters. type: enhancement versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18476> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com