The showlog script

The showlog script displays the contents the IBM Service log.

Product

The showlog script is available in WebSphere Application Server and WebSphere Application Server Network Deployment.

Authority

To run this script, your user profile must have *ALLOBJ authority.

Syntax

The syntax of the showlog script is:

showlog binaryfile [ outputfile ] [ -instance instance ]

Parameters

The parameters of the showlog script are:

Examples

showlog activity.log

This example writes the formatted contents of the activity.log file for the default instance to standard out. The activity.log file is located in directory /QIBM/UserData/WebAS5/edition/default/logs where edition is Base or ND depending on which product you are running.

showlog -instance myinst /QIBM/UserData/WebAS5/Base/myinst/logs/activity.log
 /home/myprofile/formatted_activity.log

Writes the formatted contents of the activity.log file for the myinst instance to the file formatted_activity.log in the /home/myprofile directory.