[FEAT MERGE] Merge syslog user experience improvement to master

Co-authored-by: Charles0429 <xiezhenjiang@gmail.com>
Co-authored-by: tino247 <tino247@126.com>
Co-authored-by: chaser-ch <chaser.ch@antgroup.com>
This commit is contained in:
stdliu
2023-02-06 15:52:23 +08:00
committed by ob-robot
parent 1de9266dd0
commit f8c5c2647f
796 changed files with 4465 additions and 3036 deletions

View File

@ -391,7 +391,7 @@ public:
if (NULL != tester_) {
tester_->stop();
}
COMMON_LOG(ERROR, "FATAL ERROR!!!", K_(expect), K(op_.value()), K_(expect_ret),
COMMON_LOG_RET(ERROR, OB_ERROR, "FATAL ERROR!!!", K_(expect), K(op_.value()), K_(expect_ret),
K(get_dag_ret()), K_(id));
common::right_to_die_or_duty_to_live();
}
@ -407,7 +407,7 @@ public:
tester_ = tester;
ObAddr addr(1683068975,9999);
if (OB_SUCCESS != (ObSysTaskStatMgr::get_instance().set_self_addr(addr))) {
COMMON_LOG(WARN, "failed to add sys task", K(addr));
COMMON_LOG_RET(WARN, OB_ERROR, "failed to add sys task", K(addr));
}
return OB_SUCCESS;
}