You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2009/06/25 07:53:07 UTC

[jira] Created: (GERONIMO-4712) Some INFO log is not very good/useful.

Some INFO log is not very good/useful.
--------------------------------------

                 Key: GERONIMO-4712
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4712
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: Logging
    Affects Versions: 2.1.4, 2.1.5, 2.2
            Reporter: Shawn Jiang
            Assignee: Shawn Jiang


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4712) Some INFO log is not very good/useful.

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750807#action_12750807 ] 

Shawn Jiang commented on GERONIMO-4712:
---------------------------------------

Committed the patch to 21,22, and trunk.

> Some INFO log is not very good/useful.
> --------------------------------------
>
>                 Key: GERONIMO-4712
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4712
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Logging
>    Affects Versions: 2.1.4, 2.1.5, 2.2
>            Reporter: Shawn Jiang
>            Assignee: Shawn Jiang
>         Attachments: G4712_trunk.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4712) Some INFO log is not very good/useful.

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang updated GERONIMO-4712:
----------------------------------

    Attachment: G4712_trunk.patch

Add
{noformat}
org.exolab.castor.mapping=WARN
{noformat}

To remove
{noformat}
org.exolab.castor.mapping.Mapping INFO  [Mapping] Loading mapping descriptors from jar:file:/R:/geronimo-tomcat6-javaee5-2.2-SNAPSHOT/repository/org/apache/pluto/pluto-descriptor-impl/1.1.6/pluto-descriptor-impl-1.1.6.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
org.exolab.castor.mapping.Mapping INFO  [Mapping] Loading mapping descriptors from jar:file:/R:/geronimo-tomcat6-javaee5-2.2-SNAPSHOT/repository/org/apache/pluto/pluto-descriptor-impl/1.1.6/pluto-descriptor-impl-1.1.6.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
org.exolab.castor.mapping.Mapping INFO  [Mapping] Loading mapping descriptors from jar:file:/R:/geronimo-tomcat6-javaee5-2.2-SNAPSHOT/repository/org/apache/pluto/pluto-descriptor-impl/1.1.6/pluto-descriptor-impl-1.1.6.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
org.exolab.castor.mapping.Mapping INFO  [Mapping] Loading mapping descriptors from jar:file:/R:/geronimo-tomcat6-javaee5-2.2-SNAPSHOT/repository/org/apache/pluto/pluto-descriptor-impl/1.1.6/pluto-descriptor-impl-1.1.6.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
org.exolab.castor.mapping.Mapping INFO  [Mapping] Loading mapping descriptors from jar:file:/R:/geronimo-tomcat6-javaee5-2.2-SNAPSHOT/repository/org/apache/pluto/pluto-descriptor-impl/1.1.6/pluto-descriptor-impl-1.1.6.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
org.exolab.castor.mapping.Mapping INFO  [Mapping] Loading mapping descriptors from jar:file:/R:/geronimo-tomcat6-javaee5-2.2-SNAPSHOT/repository/org/apache/pluto/pluto-descriptor-impl/1.1.6/pluto-descriptor-impl-1.1.6.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
{noformat}

Add
{noformat}
log4j.logger.org.apache.pluto.core.PortletContextManager=WARN
{noformat}
To remove

{noformat}
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Portlet application with application id '/debug-views' already registered.
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registering 5 portlets for context /debug-views
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Portlet application with application id '/debug-views' already registered.
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registering 5 portlets for context /debug-views
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Portlet application with application id '/debug-views' already registered.
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registering 5 portlets for context /debug-views
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Portlet Context '/plan-creator' registered.
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registered portlet application with application id '/plan-creator'
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registering 1 portlets for context /plan-creator
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Portlet Context '/plugin' registered.
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registered portlet application with application id '/plugin'
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registering 5 portlets for context /plugin
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Portlet application with application id '/plugin' already registered.
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registering 5 portlets for context /plugin
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Portlet application with application id '/plugin' already registered.
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registering 5 portlets for context /plugin
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Portlet application with application id '/plugin' already registered.
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registering 5 portlets for context /plugin
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Portlet application with application id '/plugin' already registered.
org.apache.pluto.core.PortletContextManager INFO  [PortletContextManager] Registering 5 portlets for context /plugin
{noformat}


Add
{noformat}
log4j.logger.org.apache.geronimo.console.filter.XSRFHandler=WARN
{noformat}
to remove
{noformat}
all kind of XSRF filter INFO logs
{noformat}

> Some INFO log is not very good/useful.
> --------------------------------------
>
>                 Key: GERONIMO-4712
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4712
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Logging
>    Affects Versions: 2.1.4, 2.1.5, 2.2
>            Reporter: Shawn Jiang
>            Assignee: Shawn Jiang
>         Attachments: G4712_trunk.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-4712) Some INFO log is not very good/useful.

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang resolved GERONIMO-4712.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
                   2.1.5

resolving this JIRA.

> Some INFO log is not very good/useful.
> --------------------------------------
>
>                 Key: GERONIMO-4712
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4712
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Logging
>    Affects Versions: 2.1.4, 2.1.5, 2.2
>            Reporter: Shawn Jiang
>            Assignee: Shawn Jiang
>             Fix For: 2.1.5, 2.2
>
>         Attachments: G4712_trunk.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4712) Some INFO log is not very good/useful.

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735010#action_12735010 ] 

Shawn Jiang commented on GERONIMO-4712:
---------------------------------------

Can anyone help review and commit this patch ?  Thanks.

> Some INFO log is not very good/useful.
> --------------------------------------
>
>                 Key: GERONIMO-4712
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4712
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Logging
>    Affects Versions: 2.1.4, 2.1.5, 2.2
>            Reporter: Shawn Jiang
>            Assignee: Shawn Jiang
>         Attachments: G4712_trunk.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-4712) Some INFO log is not very good/useful.

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang closed GERONIMO-4712.
---------------------------------


Closing it.

> Some INFO log is not very good/useful.
> --------------------------------------
>
>                 Key: GERONIMO-4712
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4712
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Logging
>    Affects Versions: 2.1.4, 2.1.5, 2.2
>            Reporter: Shawn Jiang
>            Assignee: Shawn Jiang
>             Fix For: 2.1.5, 2.2
>
>         Attachments: G4712_trunk.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4712) Some INFO log is not very good/useful.

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749769#action_12749769 ] 

Shawn Jiang commented on GERONIMO-4712:
---------------------------------------

I'd sent mails to ask for comments before.   If no objection,  I'll commit this patch.

> Some INFO log is not very good/useful.
> --------------------------------------
>
>                 Key: GERONIMO-4712
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4712
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Logging
>    Affects Versions: 2.1.4, 2.1.5, 2.2
>            Reporter: Shawn Jiang
>            Assignee: Shawn Jiang
>         Attachments: G4712_trunk.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.