nextcloud / nextcloud/server

Change `Sabre\DAV\Exception\InsufficientStorage` (quota reached) log level from fatal to warning or info

Open
#20,514 13 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 26-feedback enhancement feature: dav feature: logging
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

How to support this request?

  • Please use the 👍 reaction to show that you are also in favor of this feature - we are using this information to decide which features to include in upcoming Nextcloud versions.
  • Please don't comment if you have no relevant information to add

Feature Request:

Is there a possibility to change the logging of "Sabre\DAV\Exception\InsufficientStorage: Insufficient space in ..." from fatal to warning or info, if only the quota for a user is full, so the logging of these messages can be turned off without missing real errors ?

The message is logged, if a user tries to upload further files via Desktop Client, if his quota is full (and a lot of times, because the client is still trying every file...)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate where Sabre\DAV\Exception\InsufficientStorage is logged and inspect how quota-full uploads are distinguished from other storage errors. Reproduce an upload attempt with a full user quota, then verify that quota exhaustion uses warning or info while genuine errors retain fatal-level logging.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.