# Viewing Logs

## Zurich development phase

While the Mazze network is in the Zurich development phase, logs are stored in the `run/logs` directory by default with a higher verbosity level (DEBUG). This is to ensure that the Mazze team can monitor the network and identify any issues that may arise. This verbosity level will be reduced to INFO after the mainnet launch.

In the meantime, **you must be careful with the log size**, as it will grow quickly.

## Docker Installation

View logs in real-time using:

```bash
# Node logs
docker logs -f mazze-node
# Miner logs
docker logs -f mazze-miner
```

## Source Build Installation

Logs are stored in the `run/logs` directory by default.

```bash
# Node logs
tail -f run/logs/mazze-node.log
# Miner logs
tail -f run/logs/mazze-miner.log

# Remove `-f` flag if you don't want to follow the logs in real-time.
```


---

# 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://docs.mazze.io/testnet/viewing-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.
