# Wrong rotate value in logrotate example

**URL:** <https://forum.openwrt.org/t/wrong-rotate-value-in-logrotate-example/240799>\
**Category:** Talk about Documentation\
**Created:** [September 19, 2025, 3:50pm UTC](https://forum.openwrt.org/t/wrong-rotate-value-in-logrotate-example/240799 "2025-09-19T15:50:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![milkyway](https://forum.openwrt.org/letter_avatar/milkyway/32/5_5575768a8748004e209b776fc1b2916d.png) [@milkyway](https://forum.openwrt.org/u/milkyway)\
**Post date:** [September 19, 2025, 3:50pm UTC](https://forum.openwrt.org/t/wrong-rotate-value-in-logrotate-example/240799/1 "2025-09-19T15:50:14Z")

</div>

Hello there! I wanted to report an error in [logrotate example](https://openwrt.org/docs/guide-user/base-system/log.essentials#logrotate) in logging documentation page.

The description states:

> Here's an example that rotates a persistent log on a USB storage each night keeping it for 1 week.

but `rotate` parameter value is 1, while it should be 7.

---

<div class="post-metadata">

**Author:** ![pavelgl](https://forum.openwrt.org/user_avatar/forum.openwrt.org/pavelgl/32/33073_2.png) [@pavelgl](https://forum.openwrt.org/u/pavelgl)\
**Post date:** [September 19, 2025, 4:07pm UTC](https://forum.openwrt.org/t/wrong-rotate-value-in-logrotate-example/240799/2 "2025-09-19T16:07:35Z")

</div>

Thanks for reporting! Fixed.

---

<div class="post-metadata">

**Author:** ![system](https://forum.openwrt.org/uploads/default/original/3X/7/4/740520c71f00039bbf001045c682f0ecb25e905a.png) [@system](https://forum.openwrt.org/u/system)\
**Post date:** [September 29, 2025, 4:08pm UTC](https://forum.openwrt.org/t/wrong-rotate-value-in-logrotate-example/240799/3 "2025-09-29T16:08:33Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
