Customizing log4j2 configuration
The application uses the log4j2 (2.17.1) utility for logging. The log4j2 utility writes trace and debug information to a log file. You can modify the logging parameters in the log4j2 configuration file to control the location and level of the log files.
You can configure the logger to send different categories of messages to different destinations. Categories are organized hierarchically, which permits inheritance. Each category can be configured with a priority to indicate a severity level. If a category is not configured with a priority, it inherits the priority of its closest ancestor with an assigned priority.
yfs.log4j2.customPackages=<a comma-separated list of package names>
yfs.log4j2.customPackages=<a comma-separated list of package names>property. If you want to define a different level for a package or packages, you must define the level for each such package in the following property:
yfs.log4j2.customPackage.<packagename>.level=<logging level for the logger>
Do not change any existing appender elements. Changes to appender elements might stop the log collection process, prevent you from exporting logs in the Self Service tool, and prevent you from viewing log files in Graylog. Do not add appender elements. The system collects log files from the default appender elements.