https://issues.apache.org/bugzilla/show_bug.cgi?id=51497
--- Comment #2 from Ognjen Blagojevic <ognjen.d.blagoje...@gmail.com> 2011-07-25 14:11:54 UTC --- Created attachment 27312 --> https://issues.apache.org/bugzilla/attachment.cgi?id=27312 Adds RFC 5952 canonical IPv6 representation to AccessLogValve. Here is the proposed patch: - Added IPv6Utils.java to org.apache.tomcat.util.net - Added IPv6UtilsTest.java to org.apache.tomcat.util.net - Added parameter 'canonical' to AccessLogValve, and changed logic for parameters %a (remote addr), %A (local addr), %h (remote host name), and %v (local host name) - Updated AccessLogValve docs AccessLogValve parameter 'canonical' is set to true by default. Not sure if this shoud be the case, but since Apache httpd, Linux and Windows all use canonical representation, I believe it is reasonable assumption. Other than that, in order to access 'canonical' parameter, I needed to remove static modifier from LocalServerNameElement and LocalAddressElement inner class declarations, and to replace static initialization of LocalServerNameElement with lazy initialization. Will this be an issue? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org