How to debug database access (i.e. SQL)? I have added the following in log4j.properties, but no log.
log4j.logger.java.sql=DEBUG
log4j.logger.java.sql.Connection=DEBUG
log4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.PreparedStatement=DEBUG
log4j.logger.java.sql.ResultSet=DEBUG
Hi Jeffrey,
Hope you are updating the log4j.properties in the below path,
/opt/alfresco/tomcat/shared/classes/alfresco/extension/custom-log4j.properties
Yes, we have added it, but no log.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.