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: [EMAIL PROTECTED]


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/[EMAIL 
PROTECTED]

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to