hoge
import logging
import logging.handlers
logger = logging.getLogger(type)
handler = logging.handlers.TimedRotatingFileHandler(
filename = conf['filename'],
when = 'D'
)
logger.addHandler(handler)
Go to list of users who liked
More than 5 years have passed since last update.
import logging
import logging.handlers
logger = logging.getLogger(type)
handler = logging.handlers.TimedRotatingFileHandler(
filename = conf['filename'],
when = 'D'
)
logger.addHandler(handler)
Register as a new user and use Qiita more conveniently
Go to list of users who liked