Event (Application) Logging

Event logging is the recording of the actions performed by the Loftware Enterprise SP application, at a high level, in a set of text files. Event logs can be used by administrators and technical support engineers to monitor system performance and diagnose potential problems. Event logs also maintain a record of system activity for future reference.

Loftware Enterprise SP uses Apache log4j 2™ Logging Services for log message handling. See Welcome to Log4j 2 on the Apache Logging Services website for detailed information. This topic describes how the Loftware Enterprise SP-specific event logging is configured, and where it can be customized.

Loftware Enterprise SP logs information, error, and warning messages to a set of log files. The log files that are created can be found in the Loftware Enterprise SP logs directory (<LOFTWARE_HOME>\product\conf). Log files will "roll over" at the interval configured in the log4j2.xml file. The previous file will be compressed and renamed with a timestamp.

Log4j 2 Configuration File

Apache log4j 2 is configured with an XML file. The default log4j2.xml file can be found in <LOFTWARE_HOME>\product\conf after Loftware Enterprise SP is installed.

Note: <LOFTWARE_HOME> represents the folder on the Loftware Application Server in which the Loftware Enterprise SP application is installed. For example, in Windows Server this might be C:\Loftware\Spectrum\Spectrum, and in Linux this might be /opt/loftware/spectrum/Spectrum. Although procedures in this documentation typically use backslashes in operating system paths, you should use forward slashes if required by your operating system.