C1000-141 · Question #28
Which appender writes to the application server SystemOut.log file?
The correct answer is B. Console. Console (B) is correct because the Console appender writes to the standard output stream (stdout), which application servers like IBM WebSphere automatically redirect to their SystemOut.log file - making it the standard mechanism for capturing log output in that environment…
Question
Which appender writes to the application server SystemOut.log file?
Options
- ARolling
- BConsole
- CDaily Rolling
- DMonthly Rolling
How the community answered
(49 responses)- A6% (3)
- B76% (37)
- C14% (7)
- D4% (2)
Explanation
Console (B) is correct because the Console appender writes to the standard output stream (stdout), which application servers like IBM WebSphere automatically redirect to their SystemOut.log file - making it the standard mechanism for capturing log output in that environment.
The distractors are all file-based rotation appenders: Rolling (A) writes to a separate file and rolls it when it reaches a size limit, Daily Rolling (C) creates a new file each day, and Monthly Rolling (D) rotates by month - none of these write to the server's built-in SystemOut.log.
Memory tip: Think "Console → System Out" - just as typing in a console prints to your screen's standard output, the Console appender sends output to stdout, which the app server captures as SystemOut.log. The word "console" itself is your hint.
Topics
Community Discussion
No community discussion yet for this question.