nerdexam
IBM

C2180-408 · Question #52

A mobile application developer is debugging a new adapter. The developer wants to use WL.Logger.debug() to output adapter debug messages to the console, but discovers that the messages are not…

The correct answer is C. None, because WL.Logger.debug() only outputs to a log file. See the full explanation below for the reasoning.

Question

A mobile application developer is debugging a new adapter. The developer wants to use WL.Logger.debug() to output adapter debug messages to the console, but discovers that the messages are not appearing. What setting should the application developer change to make the messages appear?

Options

  • AIn server.xml, set the Console log level to DEBUG.
  • BIn worklight.properties, set wl.debugTarget=CONSOLE.
  • CNone, because WL.Logger.debug() only outputs to a log file.
  • DNone, because WL.Logger.debug() is only a client-side API call.

How the community answered

(41 responses)
  • A
    15% (6)
  • B
    7% (3)
  • C
    73% (30)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full C2180-408 Practice