Message322878
> I expected it to be a "dummy" handler that might accept any argument
I don't know why you expected that, but your expectation wasn't valid. You will need to define your own BaseHandler which handles any arguments passed by your logging configuration.
NullHandler's __init__ is inherited from logging.Handler. There are no plans to change that. The documentation for it states:
"The NullHandler class, located in the core logging package, does not do any formatting or output. It is essentially a ‘no-op’ handler for use by library developers."
This does not indicate that it is suitable for use as a base class. If you want to use a base class for your handler, use logging.Handler. |
|
Date |
User |
Action |
Args |
2018-08-01 17:50:25 | vinay.sajip | set | recipients:
+ vinay.sajip, Romuald |
2018-08-01 17:50:25 | vinay.sajip | set | messageid: <1533145825.91.0.56676864532.issue34307@psf.upfronthosting.co.za> |
2018-08-01 17:50:25 | vinay.sajip | link | issue34307 messages |
2018-08-01 17:50:25 | vinay.sajip | create | |
|