Bug 65930 - tomcat log showing strange entries with ???k??? ???L???
Summary: tomcat log showing strange entries with ???k??? ???L???
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_log_config (show other bugs)
Version: 2.4.6
Hardware: Other Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-03 23:35 UTC by Ketan Desai
Modified: 2022-03-03 23:35 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ketan Desai 2022-03-03 23:35:48 UTC
I have added these two directives %k and %L on the apache httpd.conf configuration file.

LogFormat "%{X-Forwarded-For}i %l %u %t %k %L %{msec_frac}t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\" %I %O %h %{JSESSIONID}C" combinedio


 I see the following issues in the tomcat logs:

10.0.0.0 - - [03/Mar/2022:00:00:00 -0500] ???k??? ???L??? POST /someservice/SetData HTTP/1.1 200 58 249 -
10.0.0.0 - - [03/Mar/2022:00:00:00 -0500] ???k??? ???L??? POST /someservice/SetData HTTP/1.1 200 58 247 -
10.0.0.0 - - [03/Mar/2022:00:00:00 -0500] ???k??? ???L??? POST /someservice/SetData HTTP/1.1 200 58 250 -
10.0.0.0 - - [03/Mar/2022:00:00:00 -0500] ???k??? ???L??? POST /someservice/SetData HTTP/1.1 200 58 249 -
10.0.0.0 - - [03/Mar/2022:00:00:00 -0500] ???k??? ???L??? GET

Am I doing something wrong or is there any version I have to update? The tomcat version is tomcat-7.0.76-16.el7_9.noarch. Or those switches are being retired?

I followed the documentation from https://httpd.apache.org/docs/2.4/mod/mod_log_config.html