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.

Author vinay.sajip
Recipients matrixise, mcoolive, vinay.sajip
Date 2018-03-02.20:45:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520023533.15.0.467229070634.issue32732@psf.upfronthosting.co.za>
In-reply-to
Content
The existing LoggerAdapter functionality has been around since Jan 2008, and it seems that no one in that time has raised this as a must-have. In summary:

1. If you want to pass different kwargs in every time, use a logger.
2. If you want to pass particular contextual information in which fits the "extra" parameter approach, use a LoggerAdapter.
3. If that doesn't do it for you, subclass LoggerAdapter and implement what you need.

You haven't really explained why you need this to work in this particular way, so I suspect it could be an XY problem.
History
Date User Action Args
2018-03-02 20:45:33vinay.sajipsetrecipients: + vinay.sajip, matrixise, mcoolive
2018-03-02 20:45:33vinay.sajipsetmessageid: <1520023533.15.0.467229070634.issue32732@psf.upfronthosting.co.za>
2018-03-02 20:45:33vinay.sajiplinkissue32732 messages
2018-03-02 20:45:33vinay.sajipcreate