Closed breadmechanic closed 2 months ago
Log printing interfaces, such as zlog and vzlog, do not invoke zlog_env_lock to lock when accessing zlog_env_conf.
zlog
vzlog
zlog_env_lock
zlog_env_conf
However, the zlog_reload interface deletes zlog_env_conf from the lock. As a result, a null pointer error occurs.
zlog_reload
Merged Thank you very much!
Thank you
Log printing interfaces, such as
zlog
andvzlog
, do not invokezlog_env_lock
to lock when accessingzlog_env_conf
.However, the
zlog_reload
interface deleteszlog_env_conf
from the lock. As a result, a null pointer error occurs.