# Collect Logs and Diagnostic Data

This utility allows system-level logs to be collected for the server platform and then saved to another location such as your local PC. Logs can be selected for collection from specific applications.

These logs contain system data that is not available in the Logs Viewer. These logs are intended for use by Mitel Technical Support.

Note: Although this utility is available from the MiCollab Administrator Portal, it is recommended to use the MSL Server Manager to collect logs and diagnostic data.

To collect and save log files:

1. Under Configuration, click MiCollab Settings.

2. Click the Collect Logs tab.

3. Select which categories you wish to log. To minimize the size of the log file, uncheck categories you do not require.

4. Click Start. A progress indicator appears while the logs are being collected.

Note: The log collection process can take a few minutes. You can navigate to other screens without interrupting the process.

5. When the log collection process finishes, the indicator changes to "Complete / 100%" and the archived log file is listed on the screen. Depending on which type of web browser you are using, a copy of the file will be downloaded automatically or you will be prompted to save it.

6. You can manage the list of archived log files as follows:

   - To save a file, click Save, navigate to the location you wish to store the file, and then click Save. A tar file with the filename "sosreport-<file>-tar.bz2" is saved to the specified folder.

   - To delete a file, click Delete, and then click OK. The archived log file is deleted from the server.

7. After saving an archived log file, send it to Mitel Product Support for analysis.

Notes:

- Archived log files are automatically deleted from the server after 72 hours.

- You can also manage the archived log files from the MSL shell. The files are located on the server in /var/cache/e-smith/logcollector.