Reduced number of critical log levels.

This commit is contained in:
Valentin Bartenev
2018-03-05 17:32:50 +03:00
parent f2090bce21
commit 912a49c609
47 changed files with 403 additions and 534 deletions

View File

@@ -772,7 +772,6 @@ void
nxt_mp_free(nxt_mp_t *mp, void *p)
{
const char *err;
nxt_thread_t *thread;
nxt_mp_block_t *block;
nxt_mp_thread_assert(mp);
@@ -809,9 +808,7 @@ nxt_mp_free(nxt_mp_t *mp, void *p)
err = "freed pointer is out of pool: %p";
}
thread = nxt_thread();
nxt_log(thread->task, NXT_LOG_CRIT, err, p);
nxt_thread_log_alert(err, p);
}