定时任务日志级别修改为error

pull/6/head
nineven 4 years ago
parent 23016487fe
commit 81717de958
  1. 3
      fir_ser/api/utils/crontab/run.py

@ -16,6 +16,9 @@ logger = logging.getLogger(__file__)
import atexit
import fcntl
logging.basicConfig()
logging.getLogger('apscheduler').setLevel(logging.ERROR)
# 主要是为了防止多进程出现的多个定时任务同时执行
f = open("scheduler.lock", "wb")
try:

Loading…
Cancel
Save