Exam4Training

Which two tasks does the developer need to perform to correct this issue?

A developer has a sandbox with code to log a message during execution, and the following code:

var Logger = require(‘dw/system/Logger’);

Logger.info(message);

After the code executes, the developer does not see any log file with the message in the WebDAV folder .

Which two tasks does the developer need to perform to correct this issue? Choose 2 answers
A . Request that the developer’s account be given permission to the Log Center of the current realm.
B. Set the root log level to debug.
C. Check the box for Info under Log Files.
D. Set the logging global preference to true.

Answer: A,C

Exit mobile version