Skip to content

Commit

Permalink
HEP logging: Fix a bug causing all xlog()'s to be L_ERROR
Browse files Browse the repository at this point in the history
Many thanks to Artiom Druz (@Shkiperon) for reporting this issue and
helping with testing.

Fixes #2329
Closes #2331
  • Loading branch information
liviuchircu committed Dec 10, 2020
1 parent 2442f67 commit b7bcfd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xlog.c
Expand Up @@ -172,7 +172,7 @@ static inline void add_xlog_data(trace_message message, void* param)
static str sip_str = str_init("sip");


switch (xlog_print_level) {
switch (*xlog_level) {
case L_ALERT:
str_level.s = DP_ALERT_TEXT; break;
case L_CRIT:
Expand Down

0 comments on commit b7bcfd3

Please sign in to comment.