Which action must the developer take to see the log message in the same file from both classes?

Posted by: Pdfprep Category: AD0-E103 Tags: , ,

A developer creates two custom classes. ClassA has the following code:

The developer creates a custom log custom.log with debug level in OSGi sling log support for the Java package com.aem.abc. The developer adds another class ClassB with the following code:

Which action must the developer take to see the log message in the same file from both classes?
A . Create separate a log file in the OSGi web console –>Sling –> Log Support for logger com.aem.xyz.
B . Configure custom.log in the OSGi web console –> Sling –> Log Support and replace com.aem.xyz with com.aem.abc.
C . Configure custom.log in the OSGi web console –> Sling –> Log Support and replace logger com.aem.abc with com.aem.
D . Configure custom.log in the OSGi web console –> Sling –> Log Support and replace the package com.aem.abc with com.aem.xyz.

Answer: A

Leave a Reply

Your email address will not be published.