فهرست منبع

[update]添加baselog Apscheduler需要日志

jhao104 9 سال پیش
والد
کامیت
878343fc9b
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  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):
     """