tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39988] New: - mod_jk request logging issue
Date Fri, 07 Jul 2006 11:55:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39988>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39988

           Summary: mod_jk request logging  issue
           Product: Tomcat 5
           Version: Unknown
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: anias@alternatywa.waw.pl


Recently I've decided to configure mod_jk (v 1.2.15) requests logging to the file:

JkRequestLogFormat " (%V:%p/%w) [%r %s] %B %T"

Unfortunately I found out it adds an empty line following each request in the
log file, which  was quite annoying.

Someone has reported a simmilar problem here:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200506.mbox/%3C20050615184142.GF12424@autograf.pl%3E

I've attached the patch for 1.2.15, which fixes the problem.

I didn't try to investigate too much - but it looks like apr_file_write does add
an empty line to each entry put to the file. 
Despite of that mod_jk adds end of line to the log format structure, during the
JkRequestLogFormat processing.
The fix is to remove this functionality from mod_jk.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message