调整日志级别
This commit is contained in:
2
main.py
2
main.py
@@ -85,7 +85,7 @@ def main():
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
robot.LOG.error(f"GlancesMonitor服务器启动失败: {e}")
|
robot.LOG.error(f"GlancesMonitor服务器启动失败: {e}")
|
||||||
|
|
||||||
robot.LOG.info(f"=" * 30)
|
robot.LOG.info(f"=" * 50)
|
||||||
asyncio.run(async_job.run_all())
|
asyncio.run(async_job.run_all())
|
||||||
# 让机器人一直跑
|
# 让机器人一直跑
|
||||||
robot.keep_running_and_block_process()
|
robot.keep_running_and_block_process()
|
||||||
|
|||||||
2
robot.py
2
robot.py
@@ -47,7 +47,7 @@ class Robot:
|
|||||||
self.config = config
|
self.config = config
|
||||||
self.LOG = logger
|
self.LOG = logger
|
||||||
|
|
||||||
self.LOG.info(f"="*30)
|
self.LOG.info(f"="*50)
|
||||||
# wechat_ipad 相关属性
|
# wechat_ipad 相关属性
|
||||||
self.ipad_bot: WechatAPIClient
|
self.ipad_bot: WechatAPIClient
|
||||||
self.ipad_config = None
|
self.ipad_config = None
|
||||||
|
|||||||
Reference in New Issue
Block a user