Changes for page Debugging

Last modified by Simon Urli on 2023/10/10 11:46

<
From version < 16.1 >
edited by Vincent Massol
on 2013/12/19 14:02
To version < 17.1 >
edited by Vincent Massol
on 2013/12/19 14:20
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -107,6 +107,11 @@
107 107  )))
108 108  * Use a wrapping JDBC driver such as [[log4jdbc>>http://code.google.com/p/log4jdbc/]] or [[p6spy>>http://sourceforge.net/projects/p6spy/]].
109 109  * Turn on logging in your database. The configuration is database-dependent
110 +** For **HSQLDB**. Edit ##WEB-INF/hibernate.cfg.xml## and modify the URL connection property to add ##hsqldb.sqllog=3##, as in:(((
111 +{{code language="none"}}
112 +<property name="connection.url">jdbc:hsqldb:file:${environment.permanentDirectory}/database/xwiki_db;shutdown=true;hsqldb.sqllog=3</property>
113 +{{/code}}
114 +)))
110 110  
111 111  == Using Byteman ==
112 112  

Get Connected