2025-06-29 14:11:21,895 - services.task_service - WARNING - [logger.py:190] - warning() - 任务执行超时警告
2025-06-29 14:11:22,105 - services.task_service - ERROR - [logger.py:204] - error() - 任务执行失败
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 29, in test_alert_sync
    task_logger.error("任务执行失败", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 14:11:22,105 - services.task_service - CRITICAL - [logger.py:217] - critical() - 任务调度器严重错误
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 30, in test_alert_sync
    task_logger.critical("任务调度器严重错误", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 217, in critical
    self.logger.critical(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 14:11:22,120 - system.database - WARNING - [logger.py:190] - warning() - 数据库连接不稳定
2025-06-29 14:11:22,120 - system.database - ERROR - [logger.py:204] - error() - 系统配置错误
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 34, in test_alert_sync
    system_logger.error("系统配置错误", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 14:11:22,133 - services.robot_scheduler - WARNING - [logger.py:190] - warning() - 机器人电池电量低
2025-06-29 14:11:22,133 - services.robot_scheduler - ERROR - [logger.py:204] - error() - 机器人失去控制权
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 38, in test_alert_sync
    robot_logger.error("机器人失去控制权", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 14:11:22,133 - services.task_service - ERROR - [logger.py:228] - exception() - 发生了一个除零异常
Traceback (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 42, in test_alert_sync
    1 / 0
    ~~^~~
ZeroDivisionError: division by zero
2025-06-29 14:11:22,133 - services.task_service - INFO - 这是一条普通信息，不应该同步到主系统
2025-06-29 14:47:38,730 - services.task_service - WARNING - [logger.py:190] - warning() - 任务执行超时警告
2025-06-29 14:47:38,927 - services.task_service - ERROR - [logger.py:204] - error() - 任务执行失败
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 29, in test_alert_sync
    task_logger.error("任务执行失败", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 14:47:38,927 - services.task_service - CRITICAL - [logger.py:217] - critical() - 任务调度器严重错误
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 30, in test_alert_sync
    task_logger.critical("任务调度器严重错误", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 217, in critical
    self.logger.critical(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 14:47:38,929 - system.database - WARNING - [logger.py:190] - warning() - 数据库连接不稳定
2025-06-29 14:47:38,930 - system.database - ERROR - [logger.py:204] - error() - 系统配置错误
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 34, in test_alert_sync
    system_logger.error("系统配置错误", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 14:47:38,931 - services.robot_scheduler - WARNING - [logger.py:190] - warning() - 机器人电池电量低
2025-06-29 14:47:38,931 - services.robot_scheduler - ERROR - [logger.py:204] - error() - 机器人失去控制权
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 38, in test_alert_sync
    robot_logger.error("机器人失去控制权", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 14:47:38,933 - services.task_service - ERROR - [logger.py:228] - exception() - 发生了一个除零异常
Traceback (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 42, in test_alert_sync
    1 / 0
    ~~^~~
ZeroDivisionError: division by zero
2025-06-29 14:47:38,933 - services.task_service - INFO - 这是一条普通信息，不应该同步到主系统
2025-06-29 16:00:35,123 - services.task_service - WARNING - [logger.py:190] - warning() - 任务执行超时警告
2025-06-29 16:00:35,316 - services.task_service - ERROR - [logger.py:204] - error() - 任务执行失败
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 29, in test_alert_sync
    task_logger.error("任务执行失败", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 16:00:35,317 - services.task_service - CRITICAL - [logger.py:217] - critical() - 任务调度器严重错误
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 30, in test_alert_sync
    task_logger.critical("任务调度器严重错误", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 217, in critical
    self.logger.critical(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 16:00:35,318 - system.database - WARNING - [logger.py:190] - warning() - 数据库连接不稳定
2025-06-29 16:00:35,319 - system.database - ERROR - [logger.py:204] - error() - 系统配置错误
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 34, in test_alert_sync
    system_logger.error("系统配置错误", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 16:00:35,319 - services.robot_scheduler - WARNING - [logger.py:190] - warning() - 机器人电池电量低
2025-06-29 16:00:35,320 - services.robot_scheduler - ERROR - [logger.py:204] - error() - 机器人失去控制权
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 38, in test_alert_sync
    robot_logger.error("机器人失去控制权", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 16:00:35,320 - services.task_service - ERROR - [logger.py:228] - exception() - 发生了一个除零异常
Traceback (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 42, in test_alert_sync
    1 / 0
    ~~^~~
ZeroDivisionError: division by zero
2025-06-29 16:00:35,321 - services.task_service - INFO - 这是一条普通信息，不应该同步到主系统
2025-06-29 16:01:38,561 - services.task_service - WARNING - [logger.py:190] - warning() - 任务执行超时警告
2025-06-29 16:01:38,760 - services.task_service - ERROR - [logger.py:204] - error() - 任务执行失败
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 29, in test_alert_sync
    task_logger.error("任务执行失败", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 16:01:38,765 - services.task_service - CRITICAL - [logger.py:217] - critical() - 任务调度器严重错误
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 30, in test_alert_sync
    task_logger.critical("任务调度器严重错误", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 217, in critical
    self.logger.critical(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 16:01:38,776 - system.database - WARNING - [logger.py:190] - warning() - 数据库连接不稳定
2025-06-29 16:01:38,777 - system.database - ERROR - [logger.py:204] - error() - 系统配置错误
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 34, in test_alert_sync
    system_logger.error("系统配置错误", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 16:01:38,785 - services.robot_scheduler - WARNING - [logger.py:190] - warning() - 机器人电池电量低
2025-06-29 16:01:38,787 - services.robot_scheduler - ERROR - [logger.py:204] - error() - 机器人失去控制权
Stack (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 64, in <module>
    test_alert_sync()
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 38, in test_alert_sync
    robot_logger.error("机器人失去控制权", exc_info=False)
  File "D:\jsw_code\project\VWED_task\utils\logger.py", line 204, in error
    self.logger.error(message, *args, exc_info=exc_info, stack_info=stack_info, **kwargs)
2025-06-29 16:01:38,788 - services.task_service - ERROR - [logger.py:228] - exception() - 发生了一个除零异常
Traceback (most recent call last):
  File "D:\jsw_code\project\VWED_task\scripts\test_alert_sync.py", line 42, in test_alert_sync
    1 / 0
    ~~^~~
ZeroDivisionError: division by zero
2025-06-29 16:01:38,792 - services.task_service - INFO - 这是一条普通信息，不应该同步到主系统
