nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
2.99k stars 785 forks source link

[Bug]: 600MB of logs in .config/Nextcloud/logs #6771

Open johanneskastl opened 4 months ago

johanneskastl commented 4 months ago

⚠️ Before submitting, please verify the following: ⚠️

Bug description

I currently have 600MB of logs in my .config/Nextcloud/logs/ directory. There are 132 log files from today.

Not sure if this is related to the failed migration from ~/.local/share/Nextcloud/ (#6201).

Steps to reproduce

The desktop client is started on login and runs successfully.

Expected behavior

I cannot remember that I had 600MB of logs in any directory.

Which files are affected by this bug

.config/Nextcloud/logs/

Operating system

Linux

Which version of the operating system you are running.

openSUSE Tumbleweed

Package

Distro package manager

Nextcloud Server version

28.0.5

Nextcloud Desktop Client version

3.13.0

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

Nextcloud Server logs

No response

Additional info

I cannot attach the debug archive, as it has 650MB, i.e. I guess it includes the complete set of logs...

livier commented 4 months ago

Same problen here kubuntu 22.04 LTS, Server nextcloud 29.0.1, client 3.13.0 Logs have many "info" records witch are not usefull in normal use, and not see the ways to decrease to warning or ... Still not understand wy logs are in ~/.config/Nextcloud/logs/ instead of /var/logs for rotation. I thought it was a setup question and asked it here https://help.nextcloud.com/t/dealing-with-clients-logs/186062/2 But without answer, it has consquences as a bug. I hope for a solution ...

weinbrenner commented 4 months ago

Maybe related to #6701 (?)

johanneskastl commented 3 months ago

Maybe related to #6701 (?)

Maybe, yes.

weinbrenner commented 2 months ago

Problem is still present in Version 3.13.2