Skip to content

Commit

Permalink
Fix log rotate
Browse files Browse the repository at this point in the history
Log rotate doesnt currently work, once logs have rotated it still points
to the old file handler. This will ensure the logs function correctly once
it has rotated.
  • Loading branch information
ebdekock authored and bbaassssiiee committed Jul 29, 2021
1 parent c082503 commit dc63b93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/vault_logrotate.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{ vault_log_path }}/vault.log
{
missingok
copytruncate
rotate {{ vault_logrotate_freq }}
daily
dateext
Expand Down

0 comments on commit dc63b93

Please sign in to comment.