From 06a335f3de2d19e2eb946f73eec38fc46a87adfe Mon Sep 17 00:00:00 2001 From: Xuehai Pan Date: Sun, 31 Jul 2022 16:08:50 +0800 Subject: [PATCH] docs: add notes for environment variable `LOGLEVEL` Signed-off-by: Xuehai Pan --- .github/ISSUE_TEMPLATE.md | 3 ++- README.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index b66bd5f8..8cfaf0c1 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -4,7 +4,8 @@ 1. Was this issue already reported? Please do a quick search. 2. Maybe the problem is solved in the current master branch already? - Simply clone nvitop's git repository and run ./nvitop.py to find out. + Simply clone nvitop's git repository and run `LOGLEVEL=DEBUG ./nvitop.py` + to find out. 3. Provide all the relevant information, as outlined in this template. Feel free to remove any sections you don't need. --> diff --git a/README.md b/README.md index 1f2f52cb..e549beac 100644 --- a/README.md +++ b/README.md @@ -337,6 +337,7 @@ process filtering: | `NVITOP_MONITOR_MODE` | The default display mode (a comma-separated string) | `auto` / `full` / `compact`
`plain` / `colorful`
`dark` / `light` | `auto,plain,dark` | | `NVITOP_GPU_UTILIZATION_THRESHOLDS` | Thresholds of GPU utilization | `10,75` , `1,99`, ... | `10,75` | | `NVITOP_MEMORY_UTILIZATION_THRESHOLDS` | Thresholds of GPU memory percent | `10,80` , `1,99`, ... | `10,80` | +| `LOGLEVEL` | Log level for log messages | `DEBUG` , `INFO`, `WARNING`, ... | `WARNING` | For example: