Skip to content

Commit 45bf302

Browse files
mdkentdanielsdeleo
authored andcommitted
CHEF-1130: Ship logrotate files as well.
1 parent 36bbdfa commit 45bf302

5 files changed

Lines changed: 40 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/var/log/chef/client.log {
2+
rotate 12
3+
weekly
4+
compress
5+
postrotate
6+
/etc/init.d/chef-client condrestart >/dev/null || :
7+
endscript
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/var/log/chef/server.log {
2+
rotate 12
3+
weekly
4+
compress
5+
postrotate
6+
/etc/init.d/chef-server condrestart >/dev/null || :
7+
endscript
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/var/log/chef/server-webui.log {
2+
rotate 12
3+
weekly
4+
compress
5+
postrotate
6+
/etc/init.d/chef-server-webui condrestart >/dev/null || :
7+
endscript
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/var/log/chef/solr.log {
2+
rotate 12
3+
weekly
4+
compress
5+
postrotate
6+
/etc/init.d/chef-solr condrestart >/dev/null || :
7+
endscript
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/var/log/chef/solr-indexer.log {
2+
rotate 12
3+
weekly
4+
compress
5+
postrotate
6+
/etc/init.d/chef-solr-indexer condrestart >/dev/null || :
7+
endscript
8+
}

0 commit comments

Comments
 (0)