QuestionQ42

Verified(Official exam topics not publicly listed on Adobe’s certification page)

A developer receives a notification of an issue in the production environment and determines that it is likely related to the Java class MyClass, but no dedicated Sling Logging exists for this Java class.

Where should the developer read the logs for this Java class?

Explanation

Java log statements that do not have a dedicated Sling logger use the default logging output. In AEM as a Cloud Service, custom Java logging must be directed to logs/error.log, so that file contains the class’s available log entries.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!