Change the defaults for logging
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 5 Oct 2020 15:48:30 +0000 (17:48 +0200)
committerMichael Schuster (Rebase PR Action) <misch7@users.noreply.github.com>
Wed, 7 Oct 2020 13:33:20 +0000 (13:33 +0000)
commitb0a38816fc507c8f06f38c2bc2ecae8c153b8b87
tree83ae4e9d3c09207ae3bf77fb026c4111ec5dcd08
parentf90ae66d94014ce6484ccc9880f94c2e9f535359
Change the defaults for logging

Turn on the logging by default for everyone. Let's use a log dir within
the config directory of the application and have debug logs expiring
after a day.

This obviously means we'll generate quite some logs but with the
automated compression it shouldn't be too horrible. Obviously that
scales with the amount of files and syncs occurring. In our tests with a
large setup we're around 100 MB for a day worth of logs, this shouldn't
be too much of an issue on today's average desktop/laptop.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/configfile.cpp