IBM Security Identity Governance and Intelligence, Version 5.2.3.1

Tailing logs and archiving logs

You can generate tailing logs and archiving logs through the command-line interface in the IBM® Security Identity Governance and Intelligence virtual appliance.

About this task

To see a list of available commands, enter the help command at the command-line prompt. The help command provides detailed information about each command from the list.

Procedure

  1. From the command-line interface, log on to the IBM Security Identity Governance and Intelligence virtual appliance.
    For example,
    usernameA@example.com> ssh -l admin igivasrv 
    admin@igivasrv's password: admin
    The following message is displayed:
    Welcome to the IBM Security Identity Governance and Intelligence appliance
    Enter "help" for a list of available commands
  2. Enter the help command at the igivasrv prompt for a list of available commands. The following result is displayed:
    Current mode commands:
    cli                 Work with the command line interface. 
    firmware            Work with firmware images.
    fixpacks            Work with fix packs.
    igi                 Work with the IGI settings.
    license             Work with licenses.
    lmi                 Work with the local management interface.
    management          Work with management settings.
    snapshots           Work with policy snapshot files.
    support             Work with support information files.
    tools               Work with network diagnostic tools.
    updates             Work with firmware and security updates.
    Global commands:
    back                Return to the previous command mode.
    exit                Log off from the appliance.
    help                Display information for using the specified command.
    reboot              Reboot the appliance.
    shutdown            End system operation and turn off the power.
    top                 Return to the top level.
  3. Enter the igi command at the igivasrv prompt.
  4. Enter the help command at the igivasrv:igi prompt for a list of available commands. The following result is displayed:
    Current mode commands:
    jvm_property        Work with the Application Server JVM properties
    logs                Work with the IBM Security Identity Governance and
                        Intelligence log files.
    upgrade             Work with the IBM Security Identity Governance and
                        Intelligence upgrade.
    utilities           Work with the IBM Security Identity Governance and
                        Intelligence utilities.
    
    Global commands:
    back                Return to the previous command mode.
    exit                Log off from the appliance.
    help                Display information for using the specified command.
    reboot              Reboot the appliance.
    shutdown            End system operation and turn off the power.
    top                 Return to the top level.
  5. Enter the logs command at the igivasrv:igi prompt.
  6. Enter the help command at the igivasrv:igi:logs prompt for a list of available commands. The following result is displayed:
    Current mode commands:
    clear_ffdc          Clear all FFDC log files on the system.
    monitor             Monitor log files on the system.
    Global commands:
    back                Return to the previous command mode.
    exit                Log off from the appliance.
    help                Display information for using the specified command.
    reboot              Reboot the appliance.
    shutdown            End system operation and turn off the power.
    top                 Return to the top level.
  7. Enter the monitor command at the igivasrv:igi:logs prompt.
  8. Enter the help command at the igivasrv:igi:logs:monitor prompt for a list of available commands. The following result is displayed:
    Options:
    1: System
    2: LMI
    3: Configuration
    4: IGI Application Server
    5. Broker Application Server
    Note: Similarly, you can enter the clear_ffdc command at the igivasrv:igi:logs prompt to clear all FFDC log files on the system.
  9. Enter the index number to view a list of logs. For example, to view the cluster manager logs, specify 4 at Enter index.
    The following message is displayed:
    Options:
    1: SystemErr.log
    2: SystemOut.log
    3: native_stderr.log
    4: native_stdout.log
    5: startServer.log
    6: stopServer.log
  10. Enter the index number to view the tailing logs of the cluster manager. For example, specify 1 at Enter index.
    The following message is displayed:
    ************ Start Display Current Environment ************
    Log file started at: [3/13/15 17:42:49:673 EDT]
    ************* End Display Current Environment *************
  11. Enter the index number to view the tailing logs of the IBM Security Identity Governance and Intelligence server. For example, specify 7 at Enter index.
    The following message is displayed:
    1: SystemErr.log
    2: SystemOut.log
    3: SystemOut_15.03.17_02.42.19.log
    4: native_stderr.log
    5: native_stdout.log
    6: startServer.log
    7: stopServer.log
    8: SystemErr.log
    9: SystemOut.log
    10: native_stderr.log
    11: native_stdout.log
    12: startServer.log
    13: stopServer.log
    14: msg.log
    15: trace.log
  12. Enter the number of lines to tail. For example, specify 1.
    The following message is displayed:
    ************ Start Display Current Environment ************
    Log file started at: [3/13/15 17:42:49:673 EDT]
    ************* End Display Current Environment*************
  13. Enter the index number to view the trace logs of the IBM Security Identity Governance and Intelligence server. For example, specify 3 at Enter index.
    The following message is displayed:
    Options:
    1: console.log
    2: messages.log 3: messages_16.01.22_08.52.43.0.log
  14. Enter the number of lines to tail. For example, specify 5.
    The following message is displayed:
    <Time Millis="1426836005522"> 2015.03.20 03:20:05.522-04:00</Time>
    <Server Format="IP">igi1175.in.ibm.com</Server>
    <ProductId>CTGIM</ProductId>
    <Component>com.ibm.itim.pim.serviceprovider.db</Component>
    <ProductInstance>IGIVa_APP_MEMBER</ProductInstance>