-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syncthing: Update to 1.29.2 and Changed logfile path to /var/log/syncthing.log #25753
Conversation
Plus it wears out flash storage, so good move. You need to reset Also, you should squash those two commits into one. |
Thank you for the feedback! I've addressed the requested changes, including resetting PKG_RELEASE:=1 and squashing the commits into one. Please let me know if there's anything else that needs adjustment. |
Looks good to me. |
please:
|
Thank you for your feedback! I have processed the requested changes, please let me know if there are any corrections to be made! |
f34be2e
to
4688bc3
Compare
... I believe "AutoCONFIG" can't be a person's name. |
Update to 1.29.2 and Change logfile path from /etc/syncthing/syncthing log to /var/log/syncthing.log. This utilizes tmpfs (memory-based storage) to prevent disk usage growth caused by log file accumulation during extended operation. Benefits: - Avoids storage saturation from excessive log growth. - Aligns with best practices for temporary log management. - For systems using flash storage (e.g., SSDs or eMMC), storing logs in tmpfs avoids flash memory wear caused by frequent writes to /etc/syncthing. Signed-off-by: Heng Wang <[email protected]>
@AutoCONFIG I'm curious why you closed this without merging? It looked like it was ready after that last change. |
When testing, I can compile successfully using |
Maintainer: Paul Spooren [email protected], Van Waholtz [email protected]
Compile tested: x86-64(Ubuntu 24), master(24.10-rc3)
Run tested: x86-64, master(24.10-rc3), it's running normally.
Description:
The current version is two years old, and the default log path is under /etc/syncthing, which does not automatically clean up after restarting the machine or program, resulting in wasted storage space (especially for small embedded devices).