tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47840] New: A broken worker name is written in the log file.
Date Tue, 15 Sep 2009 03:45:39 GMT

           Summary: A broken worker name is written in the log file.
           Product: Tomcat Connectors
           Version: 1.2.28
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: mod_jk

Created an attachment (id=24264)
 --> (
patch for jk_lb_worker.c

I use the domain directive in, and output the actual worker
name to the log.

 ..., bar

<<log setting>>
 * Use %R:
  JkRequestLogFormat "%w(%R) %V %T"
  LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
\"%{JK_WORKER_ROUTE}n\"" combined

I expected that an actual worker name was "dom01".
However, "4+" was output to the log as a worker name.

[Mon Sep 14 14:27:31.700 2009] wlb(4+) localhost 0.003631

<<access_log>> - - [14/Sep/2009:14:27:31 +0900] "GET /test.jsp HTTP/1.1" 200 1596
"http://localhost/index.jsp" "ELinks/0.11.1 (textmode; Linux; 80x24-2)" "4+"

When "end->service()" is executed, wr.domain is initialized.

I attached the patch.


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message