nextcloud / nextcloud/desktop

Logging level and log file rotation/retention should be configurable via the config file

Open
#8,537 2 comments 1 reaction 0 assignees View on GitHub
1. to develop Prio: normal
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
1d 17h
Merged PRs (30d)
123

Description

### How to use GitHub

* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are interested into the same feature.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.

---

## Feature request

**Which Nextcloud Version are you currently using:** (see administration page)
3.16.4

**Is your feature request related to a problem? Please describe.**
Yes, Nextcloud logs too much by default, just the last 12 hours it has created 79 log files under ~/.config/Nextcloud/logs

**Describe the solution you'd like**
Options in the config file to set the log level for the desktop client (~/.config/Nextcloud/nextcloud.cfg). Not everyone needs full INFO level logs on at all times

**Describe alternatives you've considered**
My workaround is mounting the ~/.config/Nextcloud/logs folder as tmpfs to avoid excessive disk writes

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.