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_service.c | |
parent | f2090bce21e4fb47d11f992a76ef5c4da74c3233 (diff) | |
download | unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.gz unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.bz2 |
Reduced number of critical log levels.
Diffstat (limited to 'src/nxt_service.c')
-rw-r--r-- | src/nxt_service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_service.c b/src/nxt_service.c index e96e7c58..cc9f8d89 100644 --- a/src/nxt_service.c +++ b/src/nxt_service.c @@ -107,7 +107,7 @@ nxt_service_add(nxt_array_t *services, const nxt_service_t *service) goto next; } - nxt_thread_log_emerg("service \"%s:%s\" is duplicate", + nxt_thread_log_alert("service \"%s:%s\" is duplicate", service->type, service->name); return NXT_ERROR; @@ -158,7 +158,7 @@ nxt_service_get(nxt_array_t *services, const char *type, const char *name) n--; } - nxt_thread_log_emerg("service \"%s%s%s\" not found", + nxt_thread_log_alert("service \"%s%s%s\" not found", type, (name != NULL) ? ":" : "", name); return NULL; |