Issue 12419: Add ident parameter to SysLogHandler (original) (raw)
Issue12419
Created on 2011-06-27 12:27 by flub, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg139260 - (view) | Author: Floris Bruynooghe (flub) | Date: 2011-06-27 12:27 |
It would be nice if the SysLogHandler also accepted an "ident" parameter in line with the syslog.openlog() function. This simply prepends the string passed in as "ident" to each log message which currently needs to be implemented with a log filter which modifies the record. | ||
msg139285 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2011-06-27 14:40 |
New changeset 6baa90fa2b6d by Vinay Sajip in branch 'default': Closes #12419: Added ident to SysLogHandler. http://hg.python.org/cpython/rev/6baa90fa2b6d | ||
msg139288 - (view) | Author: Vinay Sajip (vinay.sajip) * ![]() |
Date: 2011-06-27 14:42 |
N.B. I did not add an additional constructor arg - instead, it's a class-level attribute which can be overridden at class or instance level. | ||
msg139290 - (view) | Author: Floris Bruynooghe (flub) | Date: 2011-06-27 14:50 |
That was quick, thanks! |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:19 | admin | set | github: 56628 |
2021-11-04 14:34:22 | erlendaasland | set | nosy: + vinay.sajip, flub, python-dev, - ahmedsayeed1982components: + Library (Lib), - Installationversions: - Python 3.6 |
2021-11-04 14:33:52 | erlendaasland | set | messages: - |
2021-11-04 12:11:42 | ahmedsayeed1982 | set | versions: + Python 3.6, - Python 3.3nosy: + ahmedsayeed1982, - vinay.sajip, flub, python-devmessages: + components: + Installation, - Library (Lib) |
2011-06-27 14:50:15 | flub | set | messages: + |
2011-06-27 14:42:10 | vinay.sajip | set | messages: + |
2011-06-27 14:40:48 | python-dev | set | status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved |
2011-06-27 13:24:03 | vinay.sajip | set | assignee: vinay.sajip |
2011-06-27 12:28:22 | flub | set | nosy: + vinay.sajip |
2011-06-27 12:27:57 | flub | create |