diff --git a/scheduler/schedule.cpp b/scheduler/schedule.cpp index cb3ee40..81e4d71 100644 --- a/scheduler/schedule.cpp +++ b/scheduler/schedule.cpp @@ -489,7 +489,7 @@ int SensorScheduler::UpdateConfigResult(int short_addr, int result) { int id = 0; auto iter = short_addr_map_.find(short_addr); if (iter == short_addr_map_.end()) { - zlog_error(zct, "cannot find id for short_addr %x", short_addr); + zlog_info(zct, "cannot find id for short_addr %x", short_addr); return 1; } else { id = iter->second; @@ -531,7 +531,7 @@ int SensorScheduler::UpgradeResult(int short_addr, int result) { int id = 0; auto iter = short_addr_map_.find(short_addr); if (iter == short_addr_map_.end()) { - zlog_error(zct, "cannot find id for short_addr %d", short_addr); + zlog_info(zct, "cannot find id for short_addr %x", short_addr); return 1; } else { id = iter->second; @@ -623,8 +623,9 @@ void SensorScheduler::ModifyScheduleTs(int diff_ts) { } void SensorScheduler::ClearScheduleCfg(int short_addr) { - zlog_warn(zbt, "[ClearScheduleCfg] clear all schedule config"); + zlog_warn(zbt, "[ClearScheduleCfg] clear all schedule config, short_addr:%x", short_addr); if (short_addr == 0) { + zlog_warn(zbt, "[ClearScheduleCfg] clear all"); update_.clear(); upgrade_.clear(); short_addr_map_.clear();