AD0-E134 practice question 10 of 15

A developer has to create a Logger and Writer pair for the company's application logging. Which OSGi configurations should the developer use?

Full set: 72 questions
Answer options
A: Apache Sling Logging Logger Configuration and Apache Sling Logging Configuration
B: Apache Sling Request Logger and Apache Sling Logging Writer Configuration
C: Apache Sling Logging Logger Configuration and Apache Sling Logging Writer Configuration Correct answer
Correct Answer:
C. Apache Sling Logging Logger Configuration and Apache Sling Logging Writer Configuration
Explanation

The Apache Sling Logging Logger Configuration and Apache Sling Logging Writer Configuration are the OSGi configurations that the developer should use to create a Logger and Writer pair for the company’s application logging. The Logger Configuration defines the log level and the log file name for a given logger name or category. The Writer Configuration defines the file size, number of files, and file location for a given log file name. Reference: https://experienceleague.adobe.com/docs/experience-manager65/deploying/configuring/configure-logging.html?lang=en#configuring-log-files

Scroll to Top