details:   https://hg.nginx.org/nginx/rev/71880e854bc7
branches:  
changeset: 9219:71880e854bc7
user:      Sergey Kandaurov <pluk...@nginx.com>
date:      Fri Mar 22 14:51:14 2024 +0400
description:
Overhauled some diagnostic messages akin to 1b05b9bbcebf.

diffstat:

 src/http/modules/ngx_http_referer_module.c    |  2 +-
 src/http/modules/ngx_http_ssi_filter_module.c |  2 +-
 src/mail/ngx_mail_core_module.c               |  4 ++--
 src/stream/ngx_stream_core_module.c           |  4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diffs (66 lines):

diff -r fa75fccf7fa0 -r 71880e854bc7 src/http/modules/ngx_http_referer_module.c
--- a/src/http/modules/ngx_http_referer_module.c        Fri Mar 22 14:18:51 
2024 +0400
+++ b/src/http/modules/ngx_http_referer_module.c        Fri Mar 22 14:51:14 
2024 +0400
@@ -631,7 +631,7 @@ ngx_http_add_regex_referer(ngx_conf_t *c
 #else
 
     ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
-                       "the using of the regex \"%V\" requires PCRE library",
+                       "using regex \"%V\" requires PCRE library",
                        name);
 
     return NGX_ERROR;
diff -r fa75fccf7fa0 -r 71880e854bc7 
src/http/modules/ngx_http_ssi_filter_module.c
--- a/src/http/modules/ngx_http_ssi_filter_module.c     Fri Mar 22 14:18:51 
2024 +0400
+++ b/src/http/modules/ngx_http_ssi_filter_module.c     Fri Mar 22 14:51:14 
2024 +0400
@@ -2001,7 +2001,7 @@ ngx_http_ssi_regex_match(ngx_http_reques
 #else
 
     ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
-                  "the using of the regex \"%V\" in SSI requires PCRE library",
+                  "using regex \"%V\" in SSI requires PCRE library",
                   pattern);
     return NGX_HTTP_SSI_ERROR;
 
diff -r fa75fccf7fa0 -r 71880e854bc7 src/mail/ngx_mail_core_module.c
--- a/src/mail/ngx_mail_core_module.c   Fri Mar 22 14:18:51 2024 +0400
+++ b/src/mail/ngx_mail_core_module.c   Fri Mar 22 14:51:14 2024 +0400
@@ -441,7 +441,7 @@ ngx_mail_core_listen(ngx_conf_t *cf, ngx
             continue;
 #else
             ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
-                               "bind ipv6only is not supported "
+                               "ipv6only is not supported "
                                "on this platform");
             return NGX_CONF_ERROR;
 #endif
@@ -564,7 +564,7 @@ ngx_mail_core_listen(ngx_conf_t *cf, ngx
         }
 
         ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
-                           "the invalid \"%V\" parameter", &value[i]);
+                           "invalid parameter \"%V\"", &value[i]);
         return NGX_CONF_ERROR;
     }
 
diff -r fa75fccf7fa0 -r 71880e854bc7 src/stream/ngx_stream_core_module.c
--- a/src/stream/ngx_stream_core_module.c       Fri Mar 22 14:18:51 2024 +0400
+++ b/src/stream/ngx_stream_core_module.c       Fri Mar 22 14:51:14 2024 +0400
@@ -1036,7 +1036,7 @@ ngx_stream_core_listen(ngx_conf_t *cf, n
             continue;
 #else
             ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
-                               "bind ipv6only is not supported "
+                               "ipv6only is not supported "
                                "on this platform");
             return NGX_CONF_ERROR;
 #endif
@@ -1164,7 +1164,7 @@ ngx_stream_core_listen(ngx_conf_t *cf, n
         }
 
         ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
-                           "the invalid \"%V\" parameter", &value[i]);
+                           "invalid parameter \"%V\"", &value[i]);
         return NGX_CONF_ERROR;
     }
 
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to