# Systemd rclone log file rotation

**URL:** <https://forum.rclone.org/t/systemd-rclone-log-file-rotation/40196>\
**Category:** Help and Support\
**Created:** [July 22, 2023, 11:59am UTC](https://forum.rclone.org/t/systemd-rclone-log-file-rotation/40196 "2023-07-22T11:59:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PogMoThoin22](https://forum.rclone.org/user_avatar/forum.rclone.org/pogmothoin22/32/14315_2.png) [@PogMoThoin22](https://forum.rclone.org/u/PogMoThoin22)\
**Post date:** [July 22, 2023, 11:59am UTC](https://forum.rclone.org/t/systemd-rclone-log-file-rotation/40196/1 "2023-07-22T11:59:25Z")

</div>

Has anyone figured it? If so any pointers for getting it working on Ubuntu 22.04

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [July 22, 2023, 12:02pm UTC](https://forum.rclone.org/t/systemd-rclone-log-file-rotation/40196/2 "2023-07-22T12:02:45Z")

</div>

As per [docs](https://rclone.org/docs/#log-file-file):

> Note that if you are using the `logrotate` program to manage rclone's logs, then you should use the `copytruncate` option as rclone doesn't have a signal to rotate logs.

---

<div class="post-metadata">

**Author:** ![PogMoThoin22](https://forum.rclone.org/user_avatar/forum.rclone.org/pogmothoin22/32/14315_2.png) [@PogMoThoin22](https://forum.rclone.org/u/PogMoThoin22)\
**Post date:** [July 22, 2023, 12:04pm UTC](https://forum.rclone.org/t/systemd-rclone-log-file-rotation/40196/3 "2023-07-22T12:04:26Z")

</div>

Perfect, thank you kindly

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [July 25, 2023, 12:04pm UTC](https://forum.rclone.org/t/systemd-rclone-log-file-rotation/40196/4 "2023-07-25T12:04:33Z")

</div>

Closed on July 25, 2023, 12:04pm UTC

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