...
The logging mechanism is highly configurable en and enables control over:
All log settings are stored in servoy.properties located in the <servoy>/application_server directory. The specific log properties are properties prefixed with 'log4j'.
...
There are 6 levels of logging (In order of severity):
By default, the loglevel log level is set to WARN. This means that all WARN, ERROR and FATAL messages will be logged. In the servoy.properties file, there are three entries:
Code Block | ||
---|---|---|
| ||
log4j.logger.com.servoy.j2db.util.Debug=WARN log4j.logger.org.apache.wicket=WARN log4j.rootCategory=WARN, file, configservlet |
The first entry sets the loglevel log level for the internal Servoy Java class used for all logging done by Servoy.
The second entry sets the loglevel log level for the Java class used for all logging of the Wicket framework, used for the Servoy Web Client
The third entry sets the overall loglevel log level and specifies the output channels for the log.
To change the the loglevel log level for Servoy, replace 'WARN' in the first entry with, for example 'TRACE' to get the most logging information. The overall loglevel log level could also be set, but this would generate a lot of logdatalog data.
Warning | ||
---|---|---|
| ||
Setting the loglevel log level to DEBUG or TRACE will generate a lot of logging data. This is not recommended in a production environment, unless absolutely necessary. Make sure enough diskspace disk space is available. |
Note | ||
---|---|---|
| ||
For more information on log4j, visit http://logging.apache.org/log4j/ or visit the Frequently Asked Technical Questions section |