diff options
Diffstat (limited to '')
-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'; /* |