Skip to content

Commit

Permalink
Reduce logrotate retention period to 7 days (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdotb authored Dec 22, 2021
1 parent 371e06d commit f797f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_tools/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ fi
if [ ! -f /etc/logrotate.d/cheqd-node ] ; then
cat <<EOF > /etc/logrotate.d/cheqd-node
${CHEQD_LOG_DIR}/stdout.log {
rotate 30
rotate 7
daily
maxsize 100M
notifempty
copytruncate
compress
maxage 30
maxage 7
}
EOF
# Restart logrotate
Expand Down

0 comments on commit f797f2a

Please sign in to comment.