nerdexam
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)
  • A
    16% (6)
  • B
    74% (28)
  • E
    11% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-807 Practice