[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

@ -314,7 +314,7 @@ public:
log_size_ = log_size_array[th_idx % LOG_LOG_CNT];
th_idx_ = th_idx;
if (0 != pthread_create(&thread_, NULL, routine, this)){
PALF_LOG(ERROR, "create thread fail", K(thread_));
PALF_LOG_RET(ERROR, OB_ERR_SYS, "create thread fail", K(thread_));
} else {
PALF_LOG(INFO, "create thread success", K(thread_), K(th_idx_), K(log_size_));
}