On 02/06/2010 16:40, Tim Funk wrote:
> Cool - One (very minor) nit ... A safer size might be 500.
> A typical User agent string by itself is 100+ characters which will
> easily take the log line over 128 characters.
> 
> StringBuilder result = new StringBuilder(128);

User agent isn't logged by default so I think 128 is probably OK.

Mark



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

Reply via email to