hoge
import logging
import logging.handlers
logger = logging.getLogger(type)
handler = logging.handlers.TimedRotatingFileHandler(
filename = conf['filename'],
when = 'D'
)
logger.addHandler(handler)
Recommended Posts