ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 49 - AD0-E720 discussion

Report
Export

An Adobe Commerce developer needs to debug an issue, where the path of the block template was invalid and the warning was added to a log file. Which mode are errors only written to a log file and not displayed?

A.
developer only
Answers
A.
developer only
B.
default and production
Answers
B.
default and production
C.
developer and default
Answers
C.
developer and default
Suggested answer: B

Explanation:

The default and production modes are the modes where errors are only written to a log file and not displayed on the screen. This is done to prevent exposing sensitive information to users and attackers. The default mode is the mode that Adobe Commerce runs in by default if no other mode is specified. The production mode is the mode that Adobe Commerce runs in when it is deployed to a live site. The developer can use the following command to check the current mode:

bin/magento deploy:mode:show

The other two options are incorrect because they display errors on the screen as well as writing them to a log file. The developer mode is the mode that Adobe Commerce runs in when it is under development or testing. The developer mode enables enhanced debugging and error reporting features.

Reference:Adobe Commerce Developer Documentation,Adobe Inc.

asked 02/10/2024
SOKLENG SUN
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first