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_app_log.c | |
parent | f2090bce21e4fb47d11f992a76ef5c4da74c3233 (diff) | |
download | unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.gz unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.bz2 |
Reduced number of critical log levels.
Diffstat (limited to 'src/nxt_app_log.c')
-rw-r--r-- | src/nxt_app_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_app_log.c b/src/nxt_app_log.c index 013fae46..9bd85458 100644 --- a/src/nxt_app_log.c +++ b/src/nxt_app_log.c @@ -79,7 +79,7 @@ nxt_log_time_handler(nxt_uint_t level, nxt_log_t *log, const char *fmt, ...) (void) nxt_write_console(nxt_stderr, msg, p - msg); - if (level <= NXT_LOG_ALERT) { + if (level == NXT_LOG_ALERT) { *(p - NXT_LINEFEED_SIZE) = '\0'; /* |