layout | title |
---|---|
default |
Add Logging Level |
The Add Logging Level page can be used to add a new logging level. This effects what messages will be printed in the log. The page requires Application Config permission. See Logging Levels for more details.
UniTime is using log4j for logging. Each class writing messages into the log is using a separate logger, typically named after the class. The loggers form a tree in a similar manner as the classes do. A logging level can be changed for a particular class (logger) or for all classes (loggers) of a given package. For instance, all org.hibernate.cfg classes have the logging level set to Warning, meaning that only warnings or higher messages (errors, fatals) appear in the log. The following logging levels are available:
-
All (all messages are logged)
-
Trace
-
Debug
-
Info
-
Warning
-
Error
-
Fatal
-
Off (no messages are logged)
If a logging level is set to a particular level, only messages of the level or higher are printed in the log.
Click Save to create the new logging level. The button Back will get you back to Logging Levels page without making any changes.
The new logging level will also appear on the Application Configuration page, with the log4j.logger. prefix. However, only changing the logging levels through the Logging Levels pages will have the immediate effect on the logging.