增加判题中的日志记录,没有测试

This commit is contained in:
virusdefender
2015-09-12 19:21:43 +08:00
parent ee9951abf1
commit 1dc0e8b742
11 changed files with 47 additions and 217 deletions

8
judge/judger/logger.py Normal file
View File

@@ -0,0 +1,8 @@
# 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