Tailing logs and archiving logs
We can generate tailing logs and archiving logs through the command-line interface in the IBM Security Identity Manager virtual appliance.
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.
- From the command-line interface, log on to the IBM Security Identity Manager virtual appliance. The following message is displayed:
Welcome to ISIM appliance Enter "help" for a list of available commands- Enter the help command at the isimvasrv prompt for a list of available commands.
- Enter the isim command at the isimvasrv prompt.
- Enter the help command at the isimvasrv:isim prompt for a list of available commands.
- Enter the logs command at the isimvasrv:isim prompt.
- Enter the help command at the isimvasrv:isim:logs prompt for a list of available commands. The following result is displayed:
Current mode commands: clear Clear the log files on the system. clear_ffdc Clear all FFDC log files on the system. clear_tranlog Clearing transaction logs for application server. 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.For more information on clearing transaction logs, see Clearing the transaction logs.
- At the isimvasrv:logs prompt, enter monitor.
- At the isimvasrv: monitor prompt, enter help.
- Enter the index number to view a list of logs.
Options: 1: SystemErr.log 2: SystemOut.log 3: native_stderr.log 4: native_stdout.log 5: startServer.log 6: stopServer.log- Enter the index number to view the tailing logs of the cluster manager. 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 *************- Enter the index number to view the tailing logs of ISIM Server. For example, specify 7. 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- Enter the index number to view the trace logs of ISIM Server. For example, specify 15. The following message is displayed:
<Time Millis="1426836005522"> 2015.03.20 03:20:05.522-04:00</Time> <Server Format="IP">isim1175.in.ibm.com</Server> <ProductId>CTGIM</ProductId> <Component>com.ibm.itim.pim.serviceprovider.db</Component> <ProductInstance>ISIMVa_APP_MEMBER</ProductInstance> <LogText><![CDATA[ISPIM DB manager is processing asynchronous requests? true]]></LogText> <Source FileName="PIMDBManager" Method="run"/> <Thread>Thread-139</Thread> </Trace>Parent topic: logs command