HUMIO_LOG4J_CONFIGURATION
Variable | HUMIO_LOG4J_CONFIGURATION | |
Description | Sets the path for the log4j2-custom-config file |
By default, LogScale sends its own log to the internal LogScale repository and other log files. If you would rather avoid the external log files and get the output on stdout this is also possible by setting the value to one of the predefined formats:
ini
HUMIO_LOG4J_CONFIGURATION=log4j2-json-stdout.xml
or
ini
HUMIO_LOG4J_CONFIGURATION=log4j2-stdout.xml
If you need to configure custom logging and use a custom file see, Configure Logging.
ini
HUMIO_LOG4J_CONFIGURATION=file:///path/to/your/log4j2-custom-config.xml