Due to a problem (see other thread), I noticed that controller.log isn’t rotated. So the current size is >300MB, which seems to be too much for a logfile!?
Is it the normal behaviour, that this logfile doesn’t get rotated or is it just in my installation?
Shouldn’t it be rotated?
Thanks and best regards,
Jochen
Edit: problem already mentioned (but not yet solved) here: Github
Yeah, mine was that big because of a problem with an empty .pid-file. The error messages every 10 seconds filled up the controller.log.
In the meantime I solved the pid-file problem and now it remains silent in controller.log. So ‘normally’ it shouldn’t be necesssary to rotate controller.log but in a case like mentioned above, when there is an error and it get’s logged, it could be helpful to have rotated logs…
(sorry I forgot the -h)
-> roughly 1.5 GB(!) of log files. Especially on a raspberry running on an sd-card, this seems problematic.
I have since added a line clearing logs to my seafile server start script but this might not be a good solution for everyone.