logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajasekhar Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-1213) How to configure log4j2.xml to write JPA queries with parameters to the server console
Date Mon, 07 Dec 2015 14:46:11 GMT
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message