The showlog script

The showlog script displays the contents the IBM Service log. For information on running Qshell scripts, see Configure Qshell to run WebSphere Application Server - Express scripts.

Authority

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

Usage

To display the IBM Service log, follow these steps:

  1. On the CL command line, run the STRQSH (Start Qshell) command.

  2. Run the cd command to change to the directory that contains the script:

    cd /QIBM/ProdData/WebASE51/ASE/bin
  3. Run the showlog script:

    showlog -instance instance binaryfile

    where instance is the name of your application server instance and binaryfile is the name of the IBM Service log file that you want to view.

Syntax

The syntax of the showlog script is:

showlog -instance instance binaryfile [ outputfile ]

Parameters

The parameters of the showlog script are:

Example

showlog -instance myinst /QIBM/UserData/WebASE51/ASE/myAppSvr/logs/activity.log
 /home/myprofile/formatted_activity.log

This example writes the formatted contents of the activity.log file for the myAppSvr instance to the file formatted_activity.log in the /home/myprofile directory.