# Logs

There are several log files when it comes to the DAPP Service Providers. The `logs` folder can be found in the directory the `dsp` software was installed in. Each service has its own log file, for example: `DSP_NAME_HERE-ipfs-dapp-service-node-2020-03-03.log`. The service file will log the service related information.

For verbose logs, set env variable: `DSP_VERBOSE_LOGS` to true.

There is also a demux and dapp service node log `DSP_NAME_HERE-demux-2020-03-03.log`, `DSP_NAME_HERE-dapp-services-node-2020-03-03.log`. The demux log tracks the interaction with the state history node, listening for relevant information for the DSP to act upon. The dapp service node log is the first point of contact when sending a transaction to the DSP, this is the gateway that fields requests to the correct service files, to the nodeos RPC API in the case of say pushing a transaction or fetching a table row, or using the `/v1/dsp/version` endpoint for returning the current version of the DSP software on the node.

Finally for each chain a DSP supports with LiquidX there is an additional dapp service node and demux log `DSP_NAME_HERE-CHAIN_NAME_HERE-dapp-services-node-2020-03-03.log` `DSP_NAME_HERE-CHAIN_NAME_HERE-demux-2020-03-03.log`.

```
sudo su -
cd $(readlink -f `which setup-dsp` | xargs dirname)
cd logs
exit
```

## Additional Logs

`pm2 logs` can be used to ensure that there are no issues outside of the logging statements used. For example, if a javascript file was improperly formatted, that error may show up in `pm2 logs`.

```
sudo su -
pm2 logs
exit
```


---

# 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.liquidapps.io/liquidapps-documentation/dapp-service-providers/dsps/setup-dsp/dsp-node/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.
