Skip to content

Commit

Permalink
fix logrotate issues
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Sep 8, 2022
1 parent fb4ac00 commit 3f96a63
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions dist/images/logrotate/kubeovn
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright (C) 2009, 2010, 2011, 2012 Nicira, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without warranty of any kind.

/var/log/kube-ovn/*.log {
daily
copytruncate
rotate 7
compress
sharedscripts
missingok
postrotate
endscript
}
1 change: 1 addition & 0 deletions dist/images/logrotate/openvswitch
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

/var/log/openvswitch/*.log {
daily
rotate 7
compress
sharedscripts
missingok
Expand Down
1 change: 1 addition & 0 deletions dist/images/logrotate/ovn
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

/var/log/ovn/*.log {
daily
rotate 7
compress
sharedscripts
missingok
Expand Down

0 comments on commit 3f96a63

Please sign in to comment.