summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Roberts <lyricnz@gmail.com>2021-10-15 14:52:32 +1100
committerSimon Roberts <lyricnz@gmail.com>2021-10-15 14:52:32 +1100
commitdaf131f21f0f7e268d2382edf76b1d895db102d8 (patch)
tree61870134f68c6fed5e183953076007fda816d1e4
parent65bf1394b8fcd4c16b43172f45613b504d7e46fc (diff)
Add FAQ about $DEBUG and $DEBUG_HTTP
-rw-r--r--docs/content/faq.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/content/faq.md b/docs/content/faq.md
index 1ee7e20..740506d 100644
--- a/docs/content/faq.md
+++ b/docs/content/faq.md
@@ -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
+ ```