# Delete Logs

Given that salesforce data storage is pretty limited the log records needs to be deleting to fee up the space.

The Deletion Settings section allows to setup how long to store the log records and what are the types needs to be deleted. By default `Error` and `Info` logs are deleted in 7 days after the creation.&#x20;

You also can manually purge the records on demand using the `Delete Logs` section. The section show the total count of the log records of the selected Type in the section above.

The Schedule Deletion section allows to manage the time for a background job that deletes the records of the selected Type(s).

<figure><img src="/files/CzfS9jXz6PRQz1UC3SSH" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.maica.com.au/log-management/delete-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
