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.