From 912a49c6091c1fd9b630d2e0966f0fe1b97a3e42 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Mon, 5 Mar 2018 17:32:50 +0300 Subject: Reduced number of critical log levels. --- src/nxt_polarssl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nxt_polarssl.c') diff --git a/src/nxt_polarssl.c b/src/nxt_polarssl.c index fcee2da0..4a814473 100644 --- a/src/nxt_polarssl.c +++ b/src/nxt_polarssl.c @@ -49,7 +49,7 @@ nxt_polarssl_server_init(nxt_ssltls_conf_t *conf) n = ssl_init(&ctx->ssl); if (n != 0) { - nxt_polarssl_log_error(NXT_LOG_CRIT, thr->log, n, "ssl_init() failed"); + nxt_polarssl_log_error(NXT_LOG_ALERT, thr->log, n, "ssl_init() failed"); return NXT_ERROR; } @@ -60,7 +60,7 @@ nxt_polarssl_server_init(nxt_ssltls_conf_t *conf) n = x509parse_crtfile(&ctx->certificate, conf->certificate); if (n != 0) { - nxt_polarssl_log_error(NXT_LOG_CRIT, thr->log, n, + nxt_polarssl_log_error(NXT_LOG_ALERT, thr->log, n, "x509parse_crt(\"%V\") failed", &conf->certificate); goto fail; @@ -70,7 +70,7 @@ nxt_polarssl_server_init(nxt_ssltls_conf_t *conf) n = x509parse_keyfile(&ctx->key, conf->certificate_key, NULL); if (n != 0) { - nxt_polarssl_log_error(NXT_LOG_CRIT, thr->log, n, + nxt_polarssl_log_error(NXT_LOG_ALERT, thr->log, n, "x509parse_key(\"%V\") failed", &conf->certificate_key); goto fail; -- cgit