[ 
https://issues.apache.org/jira/browse/AIRAVATA-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Christie updated AIRAVATA-2828:
--------------------------------------
    Labels: contributers-welcome  (was: )

> Log OpenJPA messages through slf4j
> ----------------------------------
>
>                 Key: AIRAVATA-2828
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2828
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Marcus Christie
>            Priority: Major
>              Labels: contributers-welcome
>
> Currently OpenJPA log messages go to standard out and aren't captured in the 
> main airavata.log file. Instead we should configure OpenJPA to log to slf4j. 
> See 
> http://openjpa.apache.org/builds/2.4.2/apache-openjpa/docs/ref_guide_logging_slf4j.html
> When we do so we'll want to configure the logging of OpenJPA through the 
> logback.xml configuration. See [the list of logging channels for 
> OpenJPA|http://openjpa.apache.org/builds/2.4.2/apache-openjpa/docs/ref_guide_logging.html#ref_guide_logging_channels].
>   We typically [log Runtime at INFO, Tool at INFO and SQL at 
> INFO|https://github.com/apache/airavata/blob/master/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/utils/JPAUtils.java#L91].
>  These would correspond to the channels
> * openjpa.Tool
> * openjpa.Runtime
> * openjpa.jdbc.SQL



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to