Add FAQ about $DEBUG and $DEBUG_HTTP

pull/227/head
Simon Roberts 3 years ago
parent 65bf1394b8
commit daf131f21f
No known key found for this signature in database
GPG Key ID: 0F30F99E6B771FD4

@ -493,3 +493,14 @@ draft: false
```bash
GO111MODULE=on go get github.com/cointop-sh/cointop
```
## How can I get more information when something is going wrong?
Cointop creates a logfile at `/tmp/cointop.log`. Normally nothing is written to this, but if you set the environment variable
`DEBUG=1` cointop will write a lot of output describing its operation. Furthermore, if you set `DEBUG_HTTP=1` it will also
emit lots about every HTTP request that cointop makes to coingecko (backend). Developers may ask for this information
to help diagnose any problems you may experience.
```bash
DEBUG=1 DEBUG_HTTP=1 cointop
```

Loading…
Cancel
Save