ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 123 - Certified B2C Commerce Developer discussion

Report
Export

There are three logging categories: category1, category1.eu, and category1.us.

In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.

The code segment below executes

var logger = Logger.getLogger("loggerFile", "category1.eu" );

logger.warn("This is a log message");

What is the result?

A.
Logs will be written to the log file with a prefix loggerFile.
Answers
A.
Logs will be written to the log file with a prefix loggerFile.
B.
Logs will not be written.
Answers
B.
Logs will not be written.
C.
Logs will be written to the log file with a prefix customwarn.
Answers
C.
Logs will be written to the log file with a prefix customwarn.
D.
Logs will be written to the log file with a prefix custom-loggerFile.
Answers
D.
Logs will be written to the log file with a prefix custom-loggerFile.
Suggested answer: A
asked 23/09/2024
Sathish M
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first