Skip to content

Commit

Permalink
Rotate .err and .stdout files too
Browse files Browse the repository at this point in the history
As suggested in elastic#1574, rotate the logstash.err and logstash.stdout
files also.

Fixes elastic#4136
  • Loading branch information
untergeek authored and jordansissel committed Nov 4, 2015
1 parent 65a5996 commit e60f4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/logrotate.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/var/log/logstash/*.log {
/var/log/logstash/*.log /var/log/logstash/*.err /var/log/logstash/*.stdout {
daily
rotate 7
copytruncate
Expand Down

0 comments on commit e60f4d6

Please sign in to comment.