In Business Manager, if logging is enabled for WARN level and a warning is logged under a specific category, what is the expected result?

Prepare for the Salesforce Commerce Cloud Developer Certification Exam. Study with flashcards and multiple choice questions, each offering hints and detailed explanations. Elevate your skills and confidence to succeed on your exam!

When logging is enabled for WARN level in Business Manager, it indicates that the system will only capture log messages that are marked at the WARN level or higher, such as ERROR or FATAL. Since the question specifies that a warning is logged under a specific category, one would expect that the log entry will indeed be captured and written to the log file.

In this context, if a log message is categorized as a warning and the logging level is set to WARN, that message should be logged according to the established logging prefix rules. The logging process, by design, should allow WARN level messages to be recorded.

Therefore, the expected result should be that logs are written to the log file with the appropriate logging prefix, dependent on the configuration and category, rather than stating that logs will not be written at all. This highlights a misunderstanding about how logging levels operate within Business Manager’s framework. Since the chosen answer indicates that logs will not be written, it does not align with the functionality provided for WARN level logging.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy