View log files using the imcl command

Use the viewLog command to view a list of log files and the contents of a log file.

Procedure

  1. Open a command-line utility.

  2. Open the tools directory.

  3. Run the command to see a list of log files:

    imcl viewLog

    These examples show the command for different operating systems:

    • Windows: imcl.exe viewLog
    • UNIX: ./imcl viewLog

  4. Run the command to view the contents of a log file:

    imcl viewLog YYYYMMDD_HHMM.xml


Results

Run the viewLog command returns a list of log files in this format:

1. YYYYMMDD_HHMM.xml
2. YYYYMMDD_HHMM.xml
3. YYYYMMDD_HHMM.xml

Running the viewLog command with the name of a log file returns the contents of the log file. The information is returned in this format:

Date         :  YYYY-MM-DDTHH:MM:SS
Severity     :  Information, Note, Warning, or Error
Description  :  Description of the entry

When we use the imcl viewLog command, we cannot filter the contents of the log files by severity type. To filter the log file content by severity type, use console mode or the Installation Manager user interface. For more information, see View log files in console mode or View log files using wizard mode.


Home