LumisLogConfig
The log settings are defined in the file lumisdata/config/lumislogconfig.yml which in turn follows the “log4j2” standard that can be found at https://logging.apache.org/log4j/2.x/manual/.
Some available log levels:
- debug: Provides detailed information about the system flow that is useful for debugging the application;
- info: Provides information about the application's progress;
- warn: Provides information about potential situations that may compromise the system;
- error: Provides information about errors, but allows the application to keep running;
- fatal: Provides information about critical errors that may compromise the execution of the application.
By default, the logs generated by the portal are configured to info.
It is possible to access logs generated by the default configuration through the web administrative area of LumisXP. Refer to the section Portal Logs to view the files generated by LumisXP.
Support for MDC in the log
LumisXP automatically includes some information from the Log4j2 Thread Context.
Available Variables: | Description: |
---|---|
lumis.user.login |
User Login. |
lumis.user.groups |
User's authenticated groups. |
lumis.user.locale |
Current user's language. |
lumis.request.client.ip |
IP of the client's request. |
lumis.website |
Website of the current request. |
lumis.server.id |
Server identifier. |
lumis.channel.path |
Actual path of the current channel. |
lumis.page.name |
Current page name. |
lumis.si.name |
Current service instance name. |