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 52184] Reduce log level for invalid cookies
Date Sat, 19 Nov 2011 05:45:33 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52184

--- Comment #4 from Konstantin Kolinko <knst.kolinko@gmail.com> 2011-11-19 05:45:33
UTC ---
Tomcat should be friendly both to developers and to those using it in
production. 
Its default configuration is more developer-friendly, in many places.


I think many admins do not look at INFO messages at all. So it seems reasonable
to expect that the default log level in production would be set to WARNING.

>From developer's point of view I am against dropping severity level of this
message.


> It is a good idea to include in the first log message that further
> instances of the problem will be logged at a lower (disabled by default)
> log level.

In this case the first and subsequent messages are likely to come from
different requests. I think it is better to have some time-based threshold
strategy.

I wonder whether it can be dealt at the logging library level. Otherwise it
would be nice to have some helper class to deal with such logging issues.
(+system property to configure the threshold?)
This issue is wider, because this place is not the only one that produces
"useless" INFO messages.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message