geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Jiang <genspr...@gmail.com>
Subject Should we filter those unimportant log out from current server log ?
Date Tue, 23 Jun 2009 15:39:55 GMT
I believe there are some log that needs to be filtered out from current
server log because they are not good/useful information as part of default
INFO in log.   All these kind of log messages could do is to bury the useful
info or to mislead the new users.


Some sample of them are:


2009-06-12 16:53:55,171 INFO  [PortletContextManager] Registering 24
portlets for context /console-base
2009-06-12 16:53:55,203 INFO  [PortletContextManager] Portlet application
with application id '/console-base' already registered.
2009-06-12 16:53:55,203 INFO  [PortletContextManager] Registering 24
portlets for context /console-base
2009-06-12 16:53:55,234 INFO  [PortletContextManager] Portlet application
with application id '/console-base' already registered.
2009-06-12 16:53:55,234 INFO  [PortletContextManager] Registering 24
portlets for context /console-base
2009-06-12 16:53:55,265 INFO  [PortletContextManager] Portlet application
with application id '/console-base' already registered.
.........


2009-06-23 13:22:36,484 INFO  [XSRFHandler] Created session for uid=null
with sessionId=2486E123C24B5E399859E9F5BAFD95BD,
uniqueId=-7432393335768912086
2009-06-23 13:22:36,546 INFO  [XSRFHandler] Updated HTML content with XSRF
JavaScript for requestURI=/



Maybe we could just redirect them to another log file or just change these
kind of message to DEBUG from current INFO.   Anyway, we must make sure the
default log be *concise *and only contain important info *that users want to
know*.

Any  comments ?

-- 
Shawn

Mime
View raw message