Skip to content

Commit

Permalink
Add file logging command line parameters to README CLI reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ionthegeek authored Aug 13, 2024
1 parent 59dcee5 commit 877cd49
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,12 @@ Flags in this section are of the "print something and exit" variety.

Flags in this section control the logging behaviour of the utility.

| Canonical Flag Name | Alias(es) | Added In | Default | Required? | Description |
|---------------------|-----------|----------|---------|-----------|------------------------|
| `--debug` | | v0.1.3 | `false` | Optional | Enables debug logging. |
| Canonical Flag Name | Alias(es) | Added In | Default | Required? | Description |
|---------------------|-----------|----------|----------------|-----------|-----------------------------------------------------------------------------------------------|
| `--debug` | | v0.1.3 | `false` | Optional | Enables debug logging. |
| `--log_to_console` | | v0.5.2 | `true` | Optional | Write log messages to the console. |
| `--log_to_file` | | v0.5.2 | `true` | Optional | Write log messages to a log file. |
| `--log_filename` | | v0.5.2 | `promdump.log` | Optional | Specifies the name of the file to which to write log messages when `--log_to_file` is `true`. |

### Prometheus Flags

Expand Down

0 comments on commit 877cd49

Please sign in to comment.