Commit ef7c566a authored by Pekka Pessi's avatar Pekka Pessi
Browse files

su_log.c: silenced spurious output from su_log_soft_set_level()

parent 69f15678
......@@ -246,6 +246,10 @@ void su_log_soft_set_level(su_log_t *log, unsigned level)
} else {
log->log_level = level;
log->log_init = 2;
if (explicitly_initialized == not_initialized)
explicitly_initialized = getenv("SHOW_DEBUG_LEVELS");
if (explicitly_initialized)
su_llog(log, 0, "%s: soft set log to level %u\n",
log->log_name, log->log_level);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment