Which OSGi configurations should the developer use?

A developer has to create a Logger and Writer pair for the company’s application logging.

Which OSGi configurations should the developer use?
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

Answer: C

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-manager-65/deploying/configuring/configure-logging.html?lang=en#configuring-log-files

Latest AD0-E134 Practice Questions with 50 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments