Folks
I have installed on openwrt 19x and absolutely love syncthing. Recently, when I removed a large folder the software it went into a loop with message:
18:42:14 INFO: Cleaning data for dropped folder
fatal error: runtime: out of memory
This resulted in flooding a panic-log files filling up the flash in due course.
I have added swap to fix the running out of memory issue but was wondering how I can take the config.xml and change the log file location to another hard disk for any future problem leading to logs that we have not anticipated as yet.
When you say logs you mean panic logs or application logs?
Application logs to stdout by default, so if you have a log file, it’s most likely one produced by the service manager.
Yeah I am not sure you can get these placed somewhere else.
You can move whole syncthing config/db directory somewhere else, which would move the logs as well.
The logs are not needed, however, so if you are over the crash, you could just remove them.