Oracle
1Z0-807 · Question #40
Which three principles are best practices when implementing a logging strategy for an enterprise application?
The correct answer is B. Use the appropriate logger level for logging information. C. Log messages for every method entry and exit. D. Include programmer-specific data in the log messages. See the full explanation below for the reasoning.
Question
Which three principles are best practices when implementing a logging strategy for an enterprise application?
Options
- ANever print log messages to the console window.
- BUse the appropriate logger level for logging information.
- CLog messages for every method entry and exit.
- DInclude programmer-specific data in the log messages.
- EInclude the thread name and Java class name in log messages.
How the community answered
(38 responses)- A16% (6)
- B74% (28)
- E11% (4)
Community Discussion
No community discussion yet for this question.