# Sending Log Files

You can use log files to analyze and diagnose problems within the Command Center. The log files contain the operation processing details.

The default options for sending the logs are selected based on where you initiate the operation. For example, if you initiate the operation from the Jobs page, the Send log files dialog box contains the job ID.

## Procedure

1. From the navigation pane, go to the page from where you want to send the logs:

   - CommCell details page: From the Command Center navigation pane, go to Manage > CommCell. In the upper right of the page click Send logs.

   - Servers details page: From the Command Center navigation pane, go to Manage > Infrastructure > Servers. In the Actions column for the server, click the action button , and then click Send logs.

   - Jobs page: From the Command Center navigation pane, go to Monitor > Jobs. In the Actions column for the job, click the action button , then go to Logs, and then click Send logs.

   The Send log files page appears.

2. Under Output, upload automatically to the default location or a local or network path:

   - To upload to the default CommCell location, select the Upload to support check box.

   - To upload to a local path or network path, select the Output to path check box, select Local path or Network path and then browse for a storage location.

     - For Local path, specify the directory on the CommServe computer.

     - For Network path , specify the network share path and select the appropriate credentials from the credentials vault drop-down list.

       Note

       If the required credentials are not available, you can add new credentials using the + button.

3. Under Information, select the type of logs to include.

   For example, select CommServe database, OS logs.

4. To select additional information and options to include in the bundle, click the Advanced options checkbox and then select any of the following:

   1. Database logs: To collect SQL Server error logs.

   2. Collect existing process dumps: To collect existing dumps from the Commvault directory.

      Select Advanced options to view this option.

      To collect existing process dumps on Windows CommServe or client computer, the process dump ( .dmp file) must be present in Log Files directory.

      To collect existing process dumps on the UNIX CommServe computer, the process dump ( core.XXX) must be present in Log Files directory. For UNIX client computer, the process dump ( core.XXX) must be present in dCOREDIR or dGALAXYHOME path.

   3. User application logs (ex. Oracle, HANA, DB2): To collect user application log files from the trace, dump, and cdump folders. The files up to 7 days old are collected. For large dump files, the last 10,000 lines are collected.

      Select Advanced options to view this option.

      Note

      The following details are collected for DB2:

      - Listing of archive logs staging location

      - db2diag.log

      - Database and database manager configuration parameters

      - Get databases information snapshot (DB2 get snapshot for all databases)

      - Get tablespaces information snapshot (DB2 get snapshot for tablespaces on the databasename)

   4. Take new process dump: To collect new process dumps based on the Process Name or ID.

      Select Advanced options to view this option.

   5. Take two dumps for memory analysis: To collect two process dumps in an interval based on the Process name or ID. The default time interval is 2 minutes, you can specify the time interval on the Dump Interval (Minutes).

      Note

      This option is not available for send logs to multiple client computers or sending logs by job ID.

   6. Remote File Cache: To collect the index remote file cache of the jobs. This option is only valid while performing send logs by job ID.

      Select Advanced options to view this option.

   7. Scrub log files: To enable data masking.

      Select Advanced options to view this option.

      You can also configure data masking for log files on the Manage > Settings > Diagnostics > Support tunnel page.

5. Under Notification, select the users that you want to receive an email about the logs.

   By default, logs are sent to Commvault support.

6. Click Send logs.

   For a successful send logs operation, the send logs staging folder must have at least 10 GB free space. It can be adjusted by modifying the freeSpaceThresholdGB additional setting.

## Related Topics

Configuring Data Masking for Sending Log Files

×

Loading...