collect_logs command
The collect_logs command collects log files for a node and combines them in a compressed file that can be sent to IBM® Customer Support.
Usage notes
Run this command on each node where you want to collect information.
To run this command, you must have administrative access to have the correct permissions to read the files and to create the log file archive.
Use this command only for collecting files for IBM Customer Support.
This command can be automatically run during the uninstallation of B2B Advanced Communications.
Environment
- Windows 2008
- Linux
Authorization
Administrative user
Syntax
execute collect_logs [<log
archive>]
Option descriptions
- log archive
The name of the file that is created. This file name is optional. If no file name is specified, the file name defaults to host_name.zip.
You can also specify a file path. If you do not specify a file path, the file is placed in the directory where you ran the collect_logs command. If there are any spaces in the file name or file path, you must enclose the name or path in double quotation marks. For example:
execute collect_logs "c:\program files\IBM\logs.zip".
Examples
- Example: Creating a log file with a specified name in a specified directory
- This command creates the file node_1.zip in
the C:\B2BAC_collect_logs directory.
execute collect_logs C:\B2BAC_collect_logs\node_1.zip - Example: Creating a log file with the default name
- This command creates the file host_name.zip in
the directory where the command was entered.
execute collect_logs