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