Panel |
---|
On This Page: |
ServiceManager uses the Log4J framework to produce its textual trace files. These are configured by modifying the logging.properties
file located within the svm_properties
directory. There are three sections: logger definitions, appenders and patterns:
Logger DefinitionsThe definition of a logger can have two parameters after the assignment symbol. The first defines the level of logging information and can be any of DEBUG, INFO, WARN, ERROR and FATAL. The second acts as a notional key for the actual appender in question. |
| |||||
Appender DefinitionsAppenders control where the log information is written two. Each defined logger should have an appender matching the name specified within the logger definition. ServiceManager is configured to use a file writing appender. In the shown appender opposite (used by the com.servicepower.servicemanager logger) DEBUG writes to a cyclic set of tiles located within Tomcat's logs directory. The maximum size of each log file will be 10000Kbytes |
| |||||
Pattern DefinitionsA pattern definition controls what/how the log information is written to the appender. See the Log4J web site (http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html) for Layout Patterns. |
|