1 2 3
# levelname length == 8, since 'CRITICAL' is the longest LOG_FORMAT = ('%(asctime)s - %(levelname)-8s - ' 'L#%(lineno)-4s : %(name)s:%(funcName)s() - %(message)s')