fix path of sync run log file
This should fix the issue https://github.com/nextcloud/desktop/issues/7654 where the old log location is used after moving the files to the new location on linux.
I have tested it locally and it seems to solve the problem, but I'm not really sure why the log should be stored in the config directory at all. If we want to solve this, we need to exclude the log files from the migration in src/gui/application.cpp:L549 and move the other log files in $XDG_CONFIG_DIR/Nextcloud/logs to the data directory.
Thats the reason why I have also created a second pull request https://github.com/nextcloud/desktop/pull/7665 with a consistent log directory. Please choose one of them.
Hello there, Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6
Thank you for contributing to Nextcloud and we hope to hear from you soon!
(If you believe you should not receive this message, you can add yourself to the blocklist.)
closing sorry, I am not sure of the value of this change