Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rogerlz
Copy link
Contributor

@rogerlz rogerlz commented Mar 29, 2024

To use this, edit the file ~/printer_data/systemd/klipper.env and append --rotate-log-at-restart to the KLIPPER_ARGS variable.

E.g.:

$ cat /home/pi/printer_data/systemd/klipper.env
KLIPPER_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/printer_data/config/printer.cfg -I /home/pi/printer_data/comms/klippy.serial -l /home/pi/printer_data/logs/klippy.log -a /home/pi/printer_data/comms/klippy.sock --rotate-log-at-restart"

@rogerlz rogerlz merged commit 143db0d into master Mar 30, 2024
@rogerlz rogerlz deleted the rotate branch March 30, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants