Docs
Skip to content

Sites

Logs_

Learn how Appwrite Sites handles logs

2 min read

Raw

Each time a URL path on an Appwrite Site is requested, a log is created. Each log has a unique ID. You can find site logs logged in the Logs tab.

Logs table

In your site's Logs tab, you will see a table of your recent logs. The following information is shown in this table:

ColumnDescription
Log IDUnique identifier for each log
Status codeThe HTTP status of the request
CreatedTimestamp of when the log was created
MethodThe HTTP method used to create the request
PathThe URL path the request was made to
DurationThe time taken for the request

Log details

When you click on a log, you will be shown a set of log details.

Log details
Log details

You can find both request and response information, including parameters and headers.

Disable logs

You can optionally disable logging for your site, which will exclude console.log and console.error outputs from the response logs and make site responses slightly faster. Here are the steps to disable logs:

  1. Navigate to your site on Appwrite Console.
  2. Under the Settings tab, find the Logging section.
  3. Disable logs and click on the Update button.

Logging settings
Logging settings

Log retention

Logs are not retained forever in order to be compliant with GDPR and other data privacy standards. Free plan organizations will retain logs for 24 hours, Pro plan organizations will retain logs for 7 days.

If you need longer log retention, you can log to an Appwrite table. Remember to configure proper permissions and implement Appwrite Functions or other scheduled tasks to expire and clean up logs.

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.