Skip to content
Commit 7aa618d2 authored by Qipeng Zha's avatar Qipeng Zha Committed by Anas Nashif
Browse files

logging: trigger log process once reach threshold



atomic_inc(&buffered_cnt) return previous count of log messages,
should use current count to compare with threshold config value.

Signed-off-by: default avatarDong Wang <dong.d.wang@intel.com>
Signed-off-by: default avatarQipeng Zha <qipeng.zha@intel.com>
parent bc3ea1bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment