  You're browsing the documentation for an old version of SupportPal. Consider upgrading to the [latest version](https://docs.supportpal.com/current/Log+File+Manager). 

# Log File Manager

The log file manager allows an operator to easily download and delete log files generated by the system.

Visit Utilities -> Logs -> Log File Manager in the operator panel to access the log file manager. The log files can also be found under the `/storage/logs` folder on the file system if this page is inaccessible for some reason.

## Permissions

In order to access the Log File Manager, the operator must belong to a group with a role that has the "[Manage Log Files](Operator+Roles)" permission.

  If an operator has permission to access the page, they're also able to download and delete log files. 

## Application Logs

Application logs contain messages and stack traces from general usage of the help desk.

- **File Prefix:** `supportpal`
- **Method:** Rotate every 5 days

### Changing Logging Method

Unlike the below log files it is possible to change the configuration of application logs, see: [Application Log File Configuration Options](App+Configuration#LogFiles)

## Email Logs

Email logs are generated when the [Verbose Email Log](Email+Channel) is enabled within the email channel. The log files contain details about incoming emails including the content and parser debug messages.

- **File Prefix:** `email`
- **Method:** Rotate every 5 days.

  It is not currently possible to change the method of logging. The verbose email log should only be used for debugging purposes and not left enabled, as it can use up a lot of storage space. 

## SQL Query Logs

These logs contain all MySQL queries that are run when utilising the help desk.

- **File Prefix:** `query`
- **Method:** Rotate every 3 days.

  Query logs are only generated when debug mode is enabled in the application configuration file.