> For the complete documentation index, see [llms.txt](https://docs.swingsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swingsoftware.com/seascape-for-notes/seascape-flex/audit-log.md).

# Audit log

The audit log shows details about who accessed what and when in the Seascape Flex server.

By default, the audit is disabled. To enable it, you must open the "appsettings.json" file in your Seascape Flex directory and change the "EnableAudit" variable to true.

Once you have made the necessary changes, you will need to **restart the Seascape Flex server**.

{% hint style="info" %}
Only the admin user role has access to the audit log.
{% endhint %}

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

Once logged in as admin, navigate to the settings in the top right corner of Flex:

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

Next click on the 3rd tab in the view, "Audit".&#x20;

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

There is an option to **export the audit log** by clicking on the "Export" button.&#x20;

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

The audit log is exported into a **csv** file:

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

To **delete** and clear the audit log, click on the rubbish bin icon on the right hand side:

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.swingsoftware.com/seascape-for-notes/seascape-flex/audit-log.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
