Dear Chieu
in our examples we are using log4j and SQL statement logging is activated like
this:
<!-- Set this level to "debug" to log all SQL-Statements -->
<logger name="org.apache.empire.db.DBDatabase" additivity="false">
<level value="debug"/>
<appender-ref ref="default"/>
</logger>
Set the level to "info" or "warn" and you will not get SQL statements in your
logfile.
Regards,
Rainer
from: Nguyen, Chieu X [mailto:[email protected]]
to: [email protected]
re: Stop EmpireDB Logging by Default
Hi All,
Currently, I see these log statements in my log file. This causing our log
file to grow too quickly. How do I stop EmpireDB from logging this out?
[Feb/11/16 00:11:43] INFO org.apache.empire.db.DBDatabase - Executing: UPDATE
CIRCUIT_AZ
SET LAST_UPDATE=sysdate
WHERE CIRCUIT_AZ_ID=12627769
Thank You,
Chieu Nguyen
[email protected]<mailto:[email protected]>