Rajasekhar Reddy created LOG4J2-1213:
----------------------------------------

             Summary: How to configure log4j2.xml to write JPA queries with 
parameters to the server console
                 Key: LOG4J2-1213
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1213
             Project: Log4j 2
          Issue Type: Question
            Reporter: Rajasekhar Reddy


I am trying to add the following to log4j2.xml to print the JPA traces (SQL 
queries with parameter values) on the WebSphere server console. 
   <Logger name="openjpa.jdbc.SQL" level="TRACE">                          
        <AppenderRef ref="CONSOLE" />                                   
   </Logger>

But, it did not work. Can you please suggest a way to print the traces?

Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to