Logging Levels
The following are the different types of messages that may be included in a log for Loftware Enterprise SP:
- Fatal error messages: These messages indicate situations in which the application must shut down or is unusable.
- Error messages: These messages indicate that the application is in an unexpected and possibly compromised state. A user may have performed an action that compromised the application.
- Warning messages: These messages indicate that something unintended and notable occurred in the application, or may indicate an important application state change. The application may have acted in a way that is a cause for concern, but has not impacted the stability of the application. A user may have made a mistake, but has not compromised the application.
- Informational messages: These messages indicate that something notable occurred, such as the printing of a label and the startup or shutdown of Loftware Enterprise SP. These messages may provide helpful information if a problem is occurring, but their existence does not indicate a problem.
- Debugging messages: These messages provide debugging information that may help a technical support engineer or a developer at Loftware diagnose a problem with the application.
The following logging levels can be set in log4j2.xml. The logging level is set independently for each log.
Level | Description |
---|---|
OFF |
No messages are added to the log. |
FATAL |
Only fatal error messages are included in the log. |
ERROR |
Only fatal error messages and error messages are included in the log. |
WARN |
Only fatal error, error, and warning messages are included in the log. |
INFO |
Fatal error, error, warning, and informational messages are included in the log. For some environments, this level may be more verbose than is desirable except when troubleshooting a problem. |
DEBUG |
Fatal error, error, warning, informational, and debugging messages are included in the log. Note: This level should be used only when directed by Loftware Technical Support. |
TRACE |
Fatal error, error, warning, informational, and debugging messages are included in the log, as well as tracing where defined. Note: This level should be used only when directed by Loftware Technical Support. |
ALL |
Messages of all types are included in the log. Note: This level should be used only when directed by Loftware Technical Support. |