diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-03-05 17:32:50 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-03-05 17:32:50 +0300 |
commit | 912a49c6091c1fd9b630d2e0966f0fe1b97a3e42 (patch) | |
tree | 5581735807436384796dfd9deff336865c8372e4 /src/nxt_mem_zone.c | |
parent | f2090bce21e4fb47d11f992a76ef5c4da74c3233 (diff) | |
download | unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.gz unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.bz2 |
Reduced number of critical log levels.
Diffstat (limited to 'src/nxt_mem_zone.c')
-rw-r--r-- | src/nxt_mem_zone.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nxt_mem_zone.c b/src/nxt_mem_zone.c index 9214a422..a93441c5 100644 --- a/src/nxt_mem_zone.c +++ b/src/nxt_mem_zone.c @@ -503,8 +503,7 @@ nxt_mem_zone_align(nxt_mem_zone_t *zone, size_t alignment, size_t size) nxt_thread_log_debug("mem zone alloc: %p", p); } else { - nxt_log_moderate(&nxt_mem_zone_log_moderation, - NXT_LOG_ALERT, nxt_thread_log(), + nxt_log_alert_moderate(&nxt_mem_zone_log_moderation, nxt_thread_log(), "nxt_mem_zone_alloc(%uz, %uz) failed, not enough memory", alignment, size); } |