Thanks Gilberto for your help
Just to document, I only change the ../WEB-INF/classes/log4j.xml file
From
<category name="org.apache.cayenne">
<priority value="DEBUG"/>
</category>
To
<category name="org.apache.cayenne">
<priority value="WARN"/>
</category>
My Best Regards,
Andre Gustavo Lomonaco
----- Original Message -----
From: "Gilberto" <[email protected]>
To: <[email protected]>
Sent: Thursday, December 22, 2011 10:12 PM
Subject: Re: INFO messages in Production Mode
Hi, Andre!
On Thu, Dec 22, 2011 at 7:25 PM, Andre Gustavo Lomonaco
<[email protected]> wrote:
Hi guys,
I change the click.xml file to <mode value="production"/>, restart both
the
Application and the Tomcat
Even after that change, I can see INFO messages in the log (catalina.out)
INFO | jvm 1 | 2011/12/22 18:39:50 | [INFO ]
[org.apache.cayenne.access.QueryLogger] === returned 76 rows. - took 2 ms.
INFO | jvm 1 | 2011/12/22 18:39:50 | [INFO ]
[org.apache.cayenne.access.QueryLogger] +++ transaction committed.
INFO | jvm 1 | 2011/12/22 18:41:39 | [INFO ]
[org.apache.cayenne.access.QueryLogger] --- will run 1 query.
INFO | jvm 1 | 2011/12/22 18:41:39 | [INFO ]
[org.apache.cayenne.access.QueryLogger] Opening connection:
jdbc:hsqldb:mem:examples
Those log msg are from cayenne. You can adjust it following this doc[1].
Regards,
Gilberto Caetano de Andrade
http://blog.gilbertoca.com
[1] http://cayenne.apache.org/doc30/configuring-logging.html
I need do another configuration beside the click.xml change ??
My Best Regards
Andre Gustavo Lomonaco