Skip to content

Conversation

@max-nextcloud
Copy link
Contributor

This allows using less verbose logging in the frontend
while using debug features on the server like navigating the dav endpoints.

@max-nextcloud max-nextcloud changed the title fix!: use configured log level even if window._oc_debug is set Uuse configured log level even if window._oc_debug is set Nov 7, 2025
@max-nextcloud max-nextcloud changed the title Uuse configured log level even if window._oc_debug is set Use configured log level even if window._oc_debug is set Nov 7, 2025
This allows using less verbose logging in the frontend
while using debug features on the server like navigating the dav endpoints.

It still works the same on NC24 and lower
where log levels where not exposed on the frontend.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud force-pushed the fix/do-not-force-debug-logging branch from fdff95f to c7a9de0 Compare November 7, 2025 09:42
@codecov
Copy link

codecov bot commented Nov 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.38%. Comparing base (193721b) to head (c7a9de0).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #906      +/-   ##
==========================================
- Coverage   98.41%   98.38%   -0.03%     
==========================================
  Files           4        4              
  Lines          63       62       -1     
  Branches       13       13              
==========================================
- Hits           62       61       -1     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me!
The fallback is preserved but its not overridden if already configured, nice!

@susnux susnux added bug Something isn't working 3. to review labels Nov 7, 2025
@susnux susnux merged commit 819bf77 into main Nov 7, 2025
10 checks passed
@susnux susnux deleted the fix/do-not-force-debug-logging branch November 7, 2025 10:17
@susnux susnux changed the title Use configured log level even if window._oc_debug is set fix: use configured log level even if window._oc_debug is set Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants