cancel
Showing results for 
Search instead for 
Did you mean: 

logging activiti sql statements

dva-developer
Champ in-the-making
Champ in-the-making
I need to use the databaseTablePrefix property into prefix the sql statements with the appropriate schema name.  It would be helpful if I we could verify that the correct prefix is being appended.

Does Activiti support sql statement logging similar to the way we configure Hibernate to show sql?  Any suggestions on how we can verify the statements that are being passed to the datasource would be very helpful

Thank you.

2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Log level depends on your configuration. (http://www.activiti.org/userguide/#loggingConfiguration)
e.g. for jUnit tests in engine module:


log4j.logger.org.apache.ibatis.level=INFO

May be it could help.
Regards
Martin

dva-developer
Champ in-the-making
Champ in-the-making
Thank you for the help.