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 Romuald, vinay.sajip
Date 2018-08-01.17:50:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533145825.91.0.56676864532.issue34307@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2018-08-01 17:50:25vinay.sajipsetrecipients: + vinay.sajip, Romuald
2018-08-01 17:50:25vinay.sajipsetmessageid: <1533145825.91.0.56676864532.issue34307@psf.upfronthosting.co.za>
2018-08-01 17:50:25vinay.sajiplinkissue34307 messages
2018-08-01 17:50:25vinay.sajipcreate