def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def close(self):
        super(QueueingLogHandler, self).close()
        self._queue.put_nowait(None)