[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:
@ -93,7 +93,7 @@ void hook_sigsegv_msg(int sig, siginfo_t *si, void *context)
|
||||
// thread_name
|
||||
char tname[16];
|
||||
prctl(PR_GET_NAME, tname);
|
||||
_OB_LOG(ERROR, "CRASH ERROR!!! sig=%d, sig_code=%d, sig_addr=%p, tid=%ld, tname=%s",
|
||||
_OB_LOG_RET(ERROR, OB_ERROR, "CRASH ERROR!!! sig=%d, sig_code=%d, sig_addr=%p, tid=%ld, tname=%s",
|
||||
sig, si->si_code, si->si_addr, GETTID(), tname);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user