Skip to content

Commit

Permalink
Update server.mdx (hashicorp#19881)
Browse files Browse the repository at this point in the history
added a note detailing that usage of `-log-file` functions as an additional output, does not replace journald / stdout
  • Loading branch information
rowansmithhc committed May 12, 2023
1 parent 02742a7 commit 4c5f216
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/content/docs/commands/server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ flags](/vault/docs/commands) included on all commands.
is appended. For example, setting `log-file` to `/var/log/` would result in a log
file path of `/var/log/vault-{timestamp}.log`. `log-file` can be combined with
[`-log-rotate-bytes`](#_log_rotate_bytes) and [`-log-rotate-duration`](#_log_rotate_duration)
for a fine-grained log rotation experience.
for a fine-grained log rotation experience. This output operates in addition to existing
outputs, meaning logs will continue to be written to journald / stdout (where appropriate).

- `-log-rotate-bytes` ((#\_log_rotate_bytes)) - to specify the number of
bytes that should be written to a log before it needs to be rotated. Unless specified,
Expand Down

0 comments on commit 4c5f216

Please sign in to comment.