Explorar o código

[update]添加baselog Apscheduler需要日志

jhao104 %!s(int64=9) %!d(string=hai) anos
pai
achega
878343fc9b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Schedule/ProxyRefreshSchedule.py

+ 3 - 0
Schedule/ProxyRefreshSchedule.py

@@ -16,6 +16,7 @@
 
 import sys
 import time
+import logging
 from threading import Thread
 from apscheduler.schedulers.blocking import BlockingScheduler
 
@@ -27,6 +28,8 @@ from Util.LogHandler import LogHandler
 
 __author__ = 'JHao'
 
+logging.basicConfig()
+
 
 class ProxyRefreshSchedule(ProxyManager):
     """