Exam4Training

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

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 not be written.
B. Logs will be written to the log file with a prefix loggerFile.
C. Logs will be written to the log file with a prefix custom-loggerFile.
D. Logs will be written to the log file with a prefix customwarn.

Answer: C

Exit mobile version