tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46252] New: Tomcat access log doesn't support Unicode
Date Thu, 20 Nov 2008 19:18:56 GMT

           Summary: Tomcat access log doesn't support Unicode
           Product: Tomcat 5
           Version: 5.5.17
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina

AccessLogValve, which is responsible for handling the access log uses
FileWriter (that doesn't support Unicode). I guess that instantiating the
writer like this would solve the case:

writer = new PrintWriter(new OutputStreamWriter(new FileOutputStream(pathname),
"UTF-8"), true);

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