You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2022/06/23 20:41:19 UTC

[tomcat-connectors] branch main updated: Make log messages more precise

This is an automated email from the ASF dual-hosted git repository.

rjung pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 2cf996f7e Make log messages more precise
2cf996f7e is described below

commit 2cf996f7e0a3c3547941de57d0dfcd607b540f2d
Author: Rainer Jung <ra...@kippdata.de>
AuthorDate: Thu Jun 23 22:41:10 2022 +0200

    Make log messages more precise
---
 native/common/jk_ajp_common.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/native/common/jk_ajp_common.c b/native/common/jk_ajp_common.c
index 947ecc73e..3bf01e522 100644
--- a/native/common/jk_ajp_common.c
+++ b/native/common/jk_ajp_common.c
@@ -2518,13 +2518,13 @@ static int JK_METHOD ajp_service(jk_endpoint_t *e,
     op->request = jk_b_new(&(p->pool));
     if (!op->request) {
         jk_log(l, JK_LOG_ERROR,
-               "(%s) Failed allocating AJP message", aw->name);
+               "(%s) Failed allocating AJP request message", aw->name);
         JK_TRACE_EXIT(l);
         return JK_SERVER_ERROR;
     }
     if (jk_b_set_buffer_size(op->request, aw->max_packet_size)) {
         jk_log(l, JK_LOG_ERROR,
-               "(%s) Failed allocating AJP message buffer", aw->name);
+               "(%s) Failed allocating AJP request message buffer", aw->name);
         JK_TRACE_EXIT(l);
         return JK_SERVER_ERROR;
     }
@@ -2533,13 +2533,13 @@ static int JK_METHOD ajp_service(jk_endpoint_t *e,
     op->reply = jk_b_new(&(p->pool));
     if (!op->reply) {
         jk_log(l, JK_LOG_ERROR,
-               "(%s) Failed allocating AJP message", aw->name);
+               "(%s) Failed allocating AJP reply message", aw->name);
         JK_TRACE_EXIT(l);
         return JK_SERVER_ERROR;
     }
     if (jk_b_set_buffer_size(op->reply, aw->max_packet_size)) {
         jk_log(l, JK_LOG_ERROR,
-               "(%s) Failed allocating AJP message buffer", aw->name);
+               "(%s) Failed allocating AJP reply message buffer", aw->name);
         JK_TRACE_EXIT(l);
         return JK_SERVER_ERROR;
     }
@@ -2547,13 +2547,13 @@ static int JK_METHOD ajp_service(jk_endpoint_t *e,
     op->post = jk_b_new(&(p->pool));
     if (!op->post) {
         jk_log(l, JK_LOG_ERROR,
-               "(%s) Failed allocating AJP message", aw->name);
+               "(%s) Failed allocating AJP post message", aw->name);
         JK_TRACE_EXIT(l);
         return JK_SERVER_ERROR;
     }
     if (jk_b_set_buffer_size(op->post, aw->max_packet_size)) {
         jk_log(l, JK_LOG_ERROR,
-               "(%s) Failed allocating AJP message buffer", aw->name);
+               "(%s) Failed allocating AJP post message buffer", aw->name);
         JK_TRACE_EXIT(l);
         return JK_SERVER_ERROR;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org