January 4, 2021
Estimated Post Reading Time ~

Changing Log Levels in AEM

SYNOPSIS:
Changing the Logging level in AEM for many reasons, this guide will give you a basic overview of how to change the LOG Level in AEM. Some of the parameters which can be tweaked are mentioned below. No restart required.
Log Level and Log File, to define the location and log level of the central logging configuration (error.log). The level can be set to one of DEBUG, INFO, WARN, ERROR, and FATAL.
A number of Log Files and Log File Threshold to define the size and version rotation of the log file.
Message Pattern defines the format of the log messages.

GUIDE:
STEP-01: Go to AEM OSGI configuration Manager, or directly navigate to slinglog to check the different log configurations.

STEP-02: Click on the wrench icon to edit the respective log configuration, for example, error.log, which will take you to edit the sling logging configuration for error.log

STEP-03: Select the appropriate logging level and SAVE the configuration

STEP-04: Verify the logging level has been changed by checking the error log



DONE.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.