Collecting diagnostic information
This topic provides information and the steps to collect diagnostic information about the application in case of issues.
Customer Support uses this information to help you debug your system. When requested, follow these instructions to collect diagnostics in a .zip file that you submit to Customer Support.
To collect logs in a zip file
To collect logs for all services in a zipped file, you must ensure that a zip library is installed on the host where your application is installed.
Once the library is available, do these steps:
Open a terminal and SSH into the host where the application is installed and run the following command to collect the logs.
<Install-directory>/stackmanager collect-logsThe following message is displayed: <Install-directory>/tsac_logs.zip-<CurrentTimeStamp>.zip is created.
For example: /opt/bmc/tsac_logs-20200902_042823.zip is created.(Optional) Run the following command to specify a different location to download the files.
<Install-directory>/stackmanager collect-logs --output-path=<directory-path/filename.zip>For example,
<Install-directory>/stackmanager collect-logs --output-path=/tmp/TsacLogsCopy.zipThe log files are downloaded in the specified directory.
(Optional) Run the following command to obtain the configuration files for the services.
<Install-directory>/stackmanager collect-logs --include-configThe config files are downloaded along with the log files in the same zipped file.
You can also use the commands in step 2 and step 3 together to collect the config and log files in a different directory.