Child pages
  • Log files and log to the console
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

 

During debugging, Servoy Developer logs the activities of the debug client in the following file:
../application_server/servoy_log.txt

 

It is also possible to show the logs of the debug client in the 'Debug console' using a log4j appender. (since 8.1)
For this, add the following lines to servoy.properties : 

log4j.appender.debugconsole=com.servoy.j2db.server.util.DebugConsoleAppender
log4j.appender.debugconsole.layout=org.apache.log4j.PatternLayout
log4j.appender.debugconsole.layout.ConversionPattern=%d %p [%t] %c - %m [%X{clientid} %X{solution}]%n

and make sure it is added to the root categories of log4j

log4j.rootCategory=WARN, file, configservlet, debugconsole

 

An additional (external) console window providing more detailed information can be launched by Eclipse by adding '-consoleLog' to the top of the servoy.ini file (for Mac users, this file is exposed when you view the Servoy application package contents and browse to the MacOS folder.) This console is useful for getting additional feedback during debugging.

Besides this there is also a .log file in your workspace/.metadata dir. This logs eclipse related stuff

  • No labels