'Use the specified filename for streamed logging'

def __init__(self, filename, mode, encoding=None, delay=0):

    if (codecs is None):
        encoding = None
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
    self.mode = mode
    self.encoding = encoding
    return
