You could for example get all the info you normally only get in the Server log on the Admin pages also into the command window.
In 4.0, you can achieve this the following way:
1: change the servoy.ini file from
- Code: Select all
--launcher.XXMaxPermSize 256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-XX:MaxPermSize=256M
- Code: Select all
-consoleLog
--launcher.XXMaxPermSize 256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-XX:MaxPermSize=256M
2: To get the output send to the command window as well, edit the following line in servoy.properties from:
- Code: Select all
log4j.rootCategory=INFO, file, configservlet
- Code: Select all
log4j.rootCategory=INFO, file, configservlet, stdout
3: To set the output to TRACE level (you will get a log of data), change the following two lines in servoy.properties:
- Code: Select all
log4j.debug=false
log4j.logger.com.servoy.j2db.util.Debug=INFO
- Code: Select all
log4j.debug=true
log4j.logger.com.servoy.j2db.util.Debug=TRACE
Hope this helps,
Paul