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_polarssl.c | |
parent | f2090bce21e4fb47d11f992a76ef5c4da74c3233 (diff) | |
download | unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.gz unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.bz2 |
Reduced number of critical log levels.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_polarssl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |