TIP: how to start your Servoy 4.0 Developer with console

In 3.5, when you would start Servoy Developer using the .bat file (on windows) you would get a command Window, that, depending on your log settings in the servoy.properties would show you additional information.

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

--launcher.XXMaxPermSize 256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-XX:MaxPermSize=256M

to:

-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:

log4j.rootCategory=INFO, file, configservlet
``` to:

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:

log4j.debug=false
log4j.logger.com.servoy.j2db.util.Debug=INFO


to:

log4j.debug=true
log4j.logger.com.servoy.j2db.util.Debug=TRACE


Hope this helps,

Paul