How should a developer create a custom log configuration?
A)
B)
C)
A.
Option A
B.
Option B
C.
Option C
The Answer Is:
B
This question includes an explanation.
Explanation:
To create a custom log configuration in AEM, the developer should create an OSGi configuration file for the org.apache.sling.commons.log.LogManager.factory.writer component. This configuration file should be placed under the appropriate runmode-specific folder within the config directory.
Here is the detailed process:
Create Configuration File:
Create a new XML file named org.apache.sling.commons.log.LogManager.factory.writer-.xml in the config. folder.
The can be any unique identifier for your custom log configuration.
Specify Configuration:
Add the necessary configuration properties within this XML file. For example:
Save the configuration file and deploy it to the appropriate environment. The logging system in AEM will pick up this configuration and create a custom log file with the specified settings.
References:
Adobe Experience Manager Logging
Apache Sling Logging
AD0-E134 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 60% Discount on All Products,
Use Coupon: "8w52ceb345"