Beispiel #1
0
    def _setting_logging(self):
        import logging.config
        from common.common import join_path

        logging.config.fileConfig(join_path(dir_name(__file__), "logging.ini"))
Beispiel #2
0
 def __init__(self, filename, *args):
     filename = join_path(logging_path, filename)
     logging.handlers.RotatingFileHandler.__init__(self, filename, *args)
Beispiel #3
0
 def _setting_logging(self):
     import logging.config
     from common.common import join_path
     
     logging.config.fileConfig(join_path(dir_name(__file__), "logging.ini"))