Logs are saved in XDG_CONFIG_HOME rather than XDG_STATE_HOME
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 123
Description
### Expected behaviour
Logs should be saved ([as stated by freedesktop](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)) in the `XDG_STATE_HOME`.
A log is clearly not a "user-specific configuration" and logs are explicitly featured as an example of data that should be stored in `XDG_STATE_HOME`
### Actual behaviour
Logs are stored in the `XDG_CONFIG_HOME` instead in the `Nextcloud` folder instead.
### Steps to reproduce
Just use the client and let it produce logs.
### Client configuration
Client version: 3.2.2git
Operating system: Archlinux
OS language: German
Qt version used by client package (Linux only, see also Settings dialog): 5.15.2+kde+r196-1
Client package (From Nextcloud or distro) (Linux only): 3.2.2-1
Installation path of client: `/usr/share/nextcloud`
Contributor guide
Assessment
This issue has not been assessed yet.