ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 21 - AD0-E906 discussion

Report
Export

An AEM Developer needs to create a log file for the project.

Which next step should the developer take?

A.
Create a log file under /apps/systemconfiguration... specific runmodp folder(s).
Answers
A.
Create a log file under /apps/systemconfiguration... specific runmodp folder(s).
B.
Ask AMS/DevOps for admin access to ceate a log file via console.
Answers
B.
Ask AMS/DevOps for admin access to ceate a log file via console.
C.
Create a log file under /apps/myprotect/configuration.... specific rubmode folder(s).
Answers
C.
Create a log file under /apps/myprotect/configuration.... specific rubmode folder(s).
Suggested answer: C

Explanation:

When creating a log file in AEM, the proper practice is to configure it under the /apps/myproject/configuration path for the specific runmode folders (e.g., config.dev, config.stage, config.prod). This ensures that the log file configuration is applied based on the environment.

Runmode-specific configuration ensures that logs are generated for the correct environment (development, staging, production), following best practices for AEM development.

Option A suggests using the /apps/systemconfiguration path, which is not the recommended location for project-specific configurations. Option B suggests asking for admin access, but developers typically create logs through code configuration rather than direct access to the console.

Refer to AEM's logging configuration documentation for details on setting up logs for specific environments.

asked 02/10/2024
Inkisar Malik
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first