ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 77 - AD0-E103 discussion

Report
Export

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.
Answers
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.
Answers
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.
Answers
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.
Answers
D.
Configure custom.log in the OSGi web console --> Sling --> Log Support and replace the package com.aem.abc with com.aem.xyz.
Suggested answer: A
asked 02/10/2024
Steven Prater
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first