Skip to content

AEM –Changing Log Levels

DISCLAIMER:

If you require any more information or have any questions about our site’s disclaimer, please feel free to contact us by email at [email protected]

All the information on this website – https://skydevops.co.in – is published in good faith and for general information purpose only. SKYDEVOPS does not make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this website (skydevops), is strictly at your own risk.
SKYDEVOPS will not be liable for any losses and/or damages in connection with the use of our website.

From our website, you can visit other websites by following hyperlinks to such external sites. While we strive to provide only quality links to useful and ethical websites, we have no control over the content and nature of these sites. These links to other websites do not imply a recommendation for all the content found on these sites. Site owners and content may change without notice and may occur before we have the opportunity to remove a link which may have gone ‘bad’.

Please be also aware that when you leave our website, other sites may have different privacy policies and terms which are beyond our control. Please be sure to check the Privacy Policies of these sites as well as their “Terms of Service” before engaging in any business or uploading any information.

CONSENT:

By using our website, you hereby consent to our disclaimer and agree to its terms.

UPDATE:

Should we update, amend or make any changes to this document, those changes will be prominently posted here.

-== & ==-

SYNOPSIS:

Changing the Logging level in AEM for many reasons, this guide will give you 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 DEBUGINFOWARNERROR and FATAL.
  • 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.

01

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

03

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

08

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

04

05

02

DONE.

Shashi View All

A passionate devops and automation engineer

Leave a comment