Skip to content

Commit

Permalink
Update website/content/docs/agent/config/cli-flags.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
  • Loading branch information
absolutelightning and boruszak authored Sep 22, 2023
1 parent 541633c commit 2703079
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/content/docs/agent/config/cli-flags.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,9 @@ information.
## Log Options

- `-log-file` ((#\_log_file)) - writes all the Consul agent log messages
to a file, filename defaults to `consul.log`.
On rotation, this value is used as a prefix for the log file name.
The current timestamp is appended to the file name. If the value ends in a path separator, `consul-`
to a file at the path indicated by this flag. The filename defaults to `consul.log`.
When the log file rotates, this value is used as a prefix for the path to the log and the current timestamp is
appended to the file name. If the value ends in a path separator, `consul-`
will be appended to the value. If the file name is missing an extension, `.log`
is appended. For example, setting `log-file` to `/var/log/` would result in a log
file path of `/var/log/consul.log`. `log-file` can be combined with
Expand Down

0 comments on commit 2703079

Please sign in to comment.