cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musall, Maik" <m...@selbstdenker.ag>
Subject Switching SQL logging on/off at runtime
Date Thu, 16 Feb 2017 20:53:40 GMT
Hi all,

like recommended in https://cayenne.apache.org/docs/3.0/configuring-logging.html, I use these
properties to control the logging of SQL:

log4j.logger.org.apache.cayenne.access.QueryLogger = WARN
log4j.logger.org.apache.cayenne = WARN

How would I switch SQL logging on from within the application at runtime?

Thanks
Maik


Mime
View raw message