mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-22 08:53:18 +00:00
9 lines
283 B
Python
9 lines
283 B
Python
|
# coding=utf-8
|
||
|
import logging
|
||
|
|
||
|
logging.basicConfig(level=logging.DEBUG,
|
||
|
format='%(asctime)s [%(threadName)s:%(thread)d] [%(name)s:%(lineno)d] [%(module)s:%(funcName)s] [%(levelname)s]- %(message)s',
|
||
|
filename='log/judge.log')
|
||
|
|
||
|
logger = logging
|