Message322861
Context:
I'm using a custom Handler that relies on a third-party library that may not be present
try:
from acme.logging import CustomHandler as BaseHandler
except ImportError:
import logging.NullHandler as BaseHandler
class MoreCustomHandler(BaseHandler):
def handle(self):
self.stuff()
The logging configuration has some arguments for the CustomHandler. The problem is that the NullHandler does not accept them.
I expected it to be a "dummy" handler that might accept any argument |
|
Date |
User |
Action |
Args |
2018-08-01 13:34:16 | Romuald | set | recipients:
+ Romuald |
2018-08-01 13:34:15 | Romuald | set | messageid: <1533130455.97.0.56676864532.issue34307@psf.upfronthosting.co.za> |
2018-08-01 13:34:15 | Romuald | link | issue34307 messages |
2018-08-01 13:34:15 | Romuald | create | |
|