diff --git a/build_tools/postinst b/build_tools/postinst index bb0c152a7..ebb642272 100644 --- a/build_tools/postinst +++ b/build_tools/postinst @@ -63,13 +63,13 @@ fi if [ ! -f /etc/logrotate.d/cheqd-node ] ; then cat < /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