You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Patrick Linskey (JIRA)" <ji...@apache.org> on 2007/02/21 05:53:05 UTC

[jira] Created: (OPENJPA-158) OpenJPA logs overly-verbose at INFO level

OpenJPA logs overly-verbose at INFO level
-----------------------------------------

                 Key: OPENJPA-158
                 URL: https://issues.apache.org/jira/browse/OPENJPA-158
             Project: OpenJPA
          Issue Type: Improvement
            Reporter: Patrick Linskey


OpenJPA currently outputs rather a lot of INFO-level messages, especially when using runtime enhancement. It would be nice to quiet things down a bit.

In particular, the following statements from a 'mvn package' run seem TRACE-worthy:

0  test  INFO   [main] openjpa.MetaData - Found 2 classes with metadata in 0 milliseconds.
0  test  INFO   [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.query.ManyOneEntity".
0  test  INFO   [main] openjpa.MetaData - Parsing package "org.apache.openjpa.persistence.query.ManyOneEntity".
10  test  INFO   [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.query.ManyOneEntitySub".
10  test  INFO   [main] openjpa.jdbc.Schema - Reading table information for schema name "null", table name "ManyOneEntity".
10  test  INFO   [main] openjpa.jdbc.Schema - Reading table information for schema name "null", table name "OPENJPA_SEQUENCE_TABLE".
10  test  INFO   [main] openjpa.jdbc.Schema - Reading sequence information for schema "null", sequence name "null".

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


[jira] Commented: (OPENJPA-158) OpenJPA logs overly-verbose at INFO level

Posted by "Dain Sundstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475095 ] 

Dain Sundstrom commented on OPENJPA-158:
----------------------------------------

+1 

With this change I will be able to lower the log level in OpenEJB to INFO.  Currently it is set to WARN due to the extreme number of messages you get from even a small JPA application.

> OpenJPA logs overly-verbose at INFO level
> -----------------------------------------
>
>                 Key: OPENJPA-158
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-158
>             Project: OpenJPA
>          Issue Type: Improvement
>            Reporter: Patrick Linskey
>
> OpenJPA currently outputs rather a lot of INFO-level messages, especially when using runtime enhancement. It would be nice to quiet things down a bit.
> In particular, the following statements from a 'mvn package' run seem TRACE-worthy:
> 0  test  INFO   [main] openjpa.MetaData - Found 2 classes with metadata in 0 milliseconds.
> 0  test  INFO   [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.query.ManyOneEntity".
> 0  test  INFO   [main] openjpa.MetaData - Parsing package "org.apache.openjpa.persistence.query.ManyOneEntity".
> 10  test  INFO   [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.query.ManyOneEntitySub".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading table information for schema name "null", table name "ManyOneEntity".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading table information for schema name "null", table name "OPENJPA_SEQUENCE_TABLE".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading sequence information for schema "null", sequence name "null".

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


[jira] Resolved: (OPENJPA-158) OpenJPA logs overly-verbose at INFO level

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

Patrick Linskey resolved OPENJPA-158.
-------------------------------------

    Resolution: Fixed

> OpenJPA logs overly-verbose at INFO level
> -----------------------------------------
>
>                 Key: OPENJPA-158
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-158
>             Project: OpenJPA
>          Issue Type: Improvement
>            Reporter: Patrick Linskey
>
> OpenJPA currently outputs rather a lot of INFO-level messages, especially when using runtime enhancement. It would be nice to quiet things down a bit.
> In particular, the following statements from a 'mvn package' run seem TRACE-worthy:
> 0  test  INFO   [main] openjpa.MetaData - Found 2 classes with metadata in 0 milliseconds.
> 0  test  INFO   [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.query.ManyOneEntity".
> 0  test  INFO   [main] openjpa.MetaData - Parsing package "org.apache.openjpa.persistence.query.ManyOneEntity".
> 10  test  INFO   [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.query.ManyOneEntitySub".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading table information for schema name "null", table name "ManyOneEntity".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading table information for schema name "null", table name "OPENJPA_SEQUENCE_TABLE".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading sequence information for schema "null", sequence name "null".

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


[jira] Commented: (OPENJPA-158) OpenJPA logs overly-verbose at INFO level

Posted by "Marc Prud'hommeaux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475713 ] 

Marc Prud'hommeaux commented on OPENJPA-158:
--------------------------------------------


+1. I've thought for a while that metadata parsing should be TRACE  
messages.






> OpenJPA logs overly-verbose at INFO level
> -----------------------------------------
>
>                 Key: OPENJPA-158
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-158
>             Project: OpenJPA
>          Issue Type: Improvement
>            Reporter: Patrick Linskey
>
> OpenJPA currently outputs rather a lot of INFO-level messages, especially when using runtime enhancement. It would be nice to quiet things down a bit.
> In particular, the following statements from a 'mvn package' run seem TRACE-worthy:
> 0  test  INFO   [main] openjpa.MetaData - Found 2 classes with metadata in 0 milliseconds.
> 0  test  INFO   [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.query.ManyOneEntity".
> 0  test  INFO   [main] openjpa.MetaData - Parsing package "org.apache.openjpa.persistence.query.ManyOneEntity".
> 10  test  INFO   [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.query.ManyOneEntitySub".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading table information for schema name "null", table name "ManyOneEntity".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading table information for schema name "null", table name "OPENJPA_SEQUENCE_TABLE".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading sequence information for schema "null", sequence name "null".

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


[jira] Commented: (OPENJPA-158) OpenJPA logs overly-verbose at INFO level

Posted by "Patrick Linskey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476057 ] 

Patrick Linskey commented on OPENJPA-158:
-----------------------------------------

I didn't do an exhaustive examination of info messages; I just looked at the output from 'mvn clean package'. Therefore, there might be other inappropriately-verbose messages out there.

> OpenJPA logs overly-verbose at INFO level
> -----------------------------------------
>
>                 Key: OPENJPA-158
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-158
>             Project: OpenJPA
>          Issue Type: Improvement
>            Reporter: Patrick Linskey
>
> OpenJPA currently outputs rather a lot of INFO-level messages, especially when using runtime enhancement. It would be nice to quiet things down a bit.
> In particular, the following statements from a 'mvn package' run seem TRACE-worthy:
> 0  test  INFO   [main] openjpa.MetaData - Found 2 classes with metadata in 0 milliseconds.
> 0  test  INFO   [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.query.ManyOneEntity".
> 0  test  INFO   [main] openjpa.MetaData - Parsing package "org.apache.openjpa.persistence.query.ManyOneEntity".
> 10  test  INFO   [main] openjpa.MetaData - Parsing class "org.apache.openjpa.persistence.query.ManyOneEntitySub".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading table information for schema name "null", table name "ManyOneEntity".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading table information for schema name "null", table name "OPENJPA_SEQUENCE_TABLE".
> 10  test  INFO   [main] openjpa.jdbc.Schema - Reading sequence information for schema "null", sequence name "null".

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