01.01.2013 Views

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>WebSphere</strong> logs<br />

Log files provide information about administrative and application servers as they<br />

initialize and run. After an error or problem condition occurs, logs can be<br />

reviewed for clues as to what happened. <strong>The</strong> logs provided by <strong>WebSphere</strong><br />

include stderr, stdout, wasdb2, and wssetup logs and are located in the<br />

\<strong>WebSphere</strong>\AppServer\logs directory.<br />

► Stderr and stdout logs<br />

<strong>The</strong>se capture events presented through two of the three standard I/O<br />

streams. Stdin are the arguments entered with a command or program.<br />

Stdout is the output displayed to the user. Stderr are the errors thrown by the<br />

code.<br />

<strong>The</strong> stdout and stderr logs contain application server communication, for<br />

application servers and the admin server, providing error and informational<br />

messages that reflect server startup and server status change requests, such<br />

as start, stop, and restart. Entries displayed in the Event Viewer are written to<br />

the standard out log.<br />

Output from System.err.println and System.out.println statements in the<br />

application code will also appear in the application server stdout and stderr<br />

logs respectively.<br />

By default, logs for the default server are output to the files<br />

Default_Server_stdout.log and Default_Server_stderr.log. <strong>The</strong> file name and<br />

destination directory of the logs can be specified in the File tab of the default<br />

server node (Figure 11-31).<br />

Figure 11-31 Specifying file destinations for server logs<br />

Chapter 11. <strong>CICS</strong> TG and <strong>WebSphere</strong> Application Server for Windows 319

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!