Package Products :: Package ZenUtils :: Module configlog :: Class ZenTimedRotatingFileHandler |
[hide private]
[frames] | no frames]

# Class ZenTimedRotatingFileHandler

source code

               object --+
                        |
         logging.Filterer --+
                            |
              logging.Handler --+
                                |
            logging.StreamHandler --+
                                    |
                  logging.FileHandler --+
                                        |
     logging.handlers.BaseRotatingHandler --+
                                            |
    logging.handlers.TimedRotatingFileHandler --+
                                                |
                                               ZenTimedRotatingFileHandler

Like python's TimedFileHandler but relative to ZENHOME/log/

Instance Methods | [hide private]
__init__(self, filename, when='h', interval=1, backupCount=0, encoding=None, delay=False, utc=False) Use the specified filename for streamed logging | source code
Inherited from `logging.handlers.TimedRotatingFileHandler`: `computeRollover`, `doRollover`, `getFilesToDelete`, `shouldRollover` Inherited from `logging.handlers.BaseRotatingHandler`: `emit` Inherited from `logging.FileHandler`: `close` Inherited from `logging.FileHandler` (private): `_open` Inherited from `logging.StreamHandler`: `flush` Inherited from `logging.Handler`: `acquire`, `createLock`, `format`, `get_name`, `handle`, `handleError`, `release`, `setFormatter`, `setLevel`, `set_name` Inherited from `logging.Filterer`: `addFilter`, `filter`, `removeFilter`

Class Variables | [hide private]
Inherited from `logging.Handler`: `name`

Method Details | [hide private]

### __init__(self, filename, when='h', interval=1, backupCount=0, encoding=None, delay=False, utc=False) (Constructor) | source code
Use the specified filename for streamed logging Overrides: logging.Filterer.__init__ (inherited documentation)