Fix profiler path (#339)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2021-04-25 21:07:23 +02:00
committed by GitHub
parent d7d01b6e40
commit de7eeadcd2
5 changed files with 66 additions and 22 deletions

View File

@@ -15,16 +15,18 @@ Usage: diun
Docker image update notifier. More info: https://github.com/crazy-max/diun
Flags:
-h, --help Show context-sensitive help.
-h, --help Show context-sensitive help.
--version
--config=STRING Diun configuration file ($CONFIG).
--profiler=STRING Profiler to use ($PROFILER).
--log-level="info" Set log level ($LOG_LEVEL).
--log-json Enable JSON logging output ($LOG_JSON).
--log-caller Add file:line of the caller to log output
($LOG_CALLER).
--log-nocolor Disables the colorized output ($LOG_NOCOLOR).
--test-notif Test notification settings.
--config=STRING Diun configuration file ($CONFIG).
--profiler-path=STRING Base path where profiling files are written
($PROFILER_PATH).
--profiler=STRING Profiler to use ($PROFILER).
--log-level="info" Set log level ($LOG_LEVEL).
--log-json Enable JSON logging output ($LOG_JSON).
--log-caller Add file:line of the caller to log output
($LOG_CALLER).
--log-nocolor Disables the colorized output ($LOG_NOCOLOR).
--test-notif Test notification settings.
```
## Environment variables
@@ -34,7 +36,8 @@ Following environment variables can be used in place:
| Name | Default | Description |
|--------------------|---------------|---------------|
| `CONFIG` | | Diun configuration file |
| `PROFILER` | | Profiler to use |
| `PROFILER_PATH` | | Base path where profiling files are written |
| `PROFILER` | | [Profiler](../faq.md#profiling) to use |
| `LOG_LEVEL` | `info` | Log level output |
| `LOG_JSON` | `false` | Enable JSON logging output |
| `LOG_CALLER` | `false` | Enable to add `file:line` of the caller |