modify log info.
This commit is contained in:
parent
16b86d9665
commit
b1a3332d6f
@ -489,7 +489,7 @@ int SensorScheduler::UpdateConfigResult(int short_addr, int result) {
|
|||||||
int id = 0;
|
int id = 0;
|
||||||
auto iter = short_addr_map_.find(short_addr);
|
auto iter = short_addr_map_.find(short_addr);
|
||||||
if (iter == short_addr_map_.end()) {
|
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;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
id = iter->second;
|
id = iter->second;
|
||||||
@ -531,7 +531,7 @@ int SensorScheduler::UpgradeResult(int short_addr, int result) {
|
|||||||
int id = 0;
|
int id = 0;
|
||||||
auto iter = short_addr_map_.find(short_addr);
|
auto iter = short_addr_map_.find(short_addr);
|
||||||
if (iter == short_addr_map_.end()) {
|
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;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
id = iter->second;
|
id = iter->second;
|
||||||
@ -623,8 +623,9 @@ void SensorScheduler::ModifyScheduleTs(int diff_ts) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SensorScheduler::ClearScheduleCfg(int short_addr) {
|
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) {
|
if (short_addr == 0) {
|
||||||
|
zlog_warn(zbt, "[ClearScheduleCfg] clear all");
|
||||||
update_.clear();
|
update_.clear();
|
||||||
upgrade_.clear();
|
upgrade_.clear();
|
||||||
short_addr_map_.clear();
|
short_addr_map_.clear();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user