#MainsailOS Log rotation

7 messages · Page 1 of 1 (latest)

crisp oar
#

On MainsailOS, what handles the log rotation in ~/printer_data/logs ? #NoLogsNeeded

#

I can see crowsnest and sonar in logrotate.d but not klippy

smoky dagger
tropic zodiac
#

To be precise here, I only knew bash at the time I start developing that crappy bandaid of sonar and crowsnest. To safe some time I simply used the already existing logrotate instead of developing a similar behavior to moonraker or klipper. If you need guidance to change the logrotate behavior of logrotate let me know, I will assist you.

crisp oar
#

Ta, thanks.

#

I just want klippy to log rotate when it exits (or starts, not bothered)

tropic zodiac
#

Then, meteyou already pointed you in the right direction