Starting the Log Viewer
To start the Log
Viewer, issue the following command from an AIX® or Linux® command shell:
./txlogs.sh [log.directory.spec | ? ]This command must be run from the cmd subdirectory of the Transaction Server installation
path. The single parameter is optional. Running the Log
Viewer without a parameter uses the
default log directory specification. Table 1 explains this
default operation.
| Option | Default Value | Description |
|---|---|---|
| log.directory.spec | ..//logs//tslog%g.xml | Directory specification for log files |
| ? | n/a | Shows the command line help |
You typically invoke the Log
Viewer without any options. This starts the Log
Viewer showing the logs in your default logging directory. If you have modified this location in your
Transaction Server configuration, you can modify the tslogs.bat file to change the default
directory. Just edit this file with a standard text editor and you should see the following line:
rem set parms=..\\logs\\tslog%g.xmlRemove the "rem" from the line and modify the directory specification to suit your particular configuration. The Log Viewer now defaults to your directory.
Alternately, you can specify a specific log directory specification directly on the command line. This is useful for viewing saved log information that you have copied to other directories on your Transaction Server. Note the "%g" embedded in the log directory specification. This tag marks the location of the log file generation number as present in your Transaction Server configuration settings. This is the only pattern allowed in the log directory specification for the Log Viewer. The others ("%t", "%h", "%u", and "%%") are not allowed.