---
title: Download logs
project: OpenLogger
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openlogger/1-0/guides/download-logs/
updated: 2026-11-19T08:02:29.465Z
---

# Download logs

> Download the log file and read what is inside.

**Download** in **Logs** saves the whole log database as the file `logs.nosql`. Use it to keep a copy before you clear logs, or to work with the logs in other tools.

## Download the file

**1.** Open the admin interface with your primary access token, at `/setup/?token=YOUR_TOKEN`.

**2.** Open **Logs** and click **Download**.

The browser saves `logs.nosql`.

## What is inside

The file is plain text with one log per line, as JSON:

```json
{"type":"info","data":"{\"order\":1001,\"total\":49.9,\"currency\":\"EUR\"}","app":"Demo shop","url":"https://shop.example.com/checkout/","userid":"u100","username":"Jane Doe","schema":"Orders","reference":"1001","message":"Order 1001 created","ua":"Firefox 132 (macOS)","ip":"192.0.2.10","clientside":false,"date":"2026-11-19T07:48:59.085Z","id":"24nap001bg51d","dtcreated":"2026-11-19T07:48:59.085Z"}
```

The file holds every field your app sent, including `reference`, `clientside` and `date`, which the table does not show. A line that starts with `-` is a log that was removed.

## Download from a script

See [Read logs with the admin API](../../reference/read-logs/).
