The log functionality of the Servoy Application Server is based on log4j of the |Apache Logging Services|http://logging.apache.org/] project.
The logging mechanism is highly configurable and enables control over:
All log settings are stored in servoy.properties located in the /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 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:
The first entry sets the log level for the internal Servoy Java class used for all logging done by Servoy.
The second entry sets the 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 log level and specifies the output channels for the log.
To change the the log level for Servoy, replace 'WARN' in the first entry with, for example 'TRACE' to get the most logging information. The overall log level could also be set, but this would generate a lot of log data.
Servoy registers the following loggers:
The logging level can be set independently for all these loggers, by adding extra 'log4j.logger' entries in the servoy.properties file, like:
Setting the 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 disk space is available.