fix(CapabilitiesManager): only log execution time if debug mode is enabled#58971
fix(CapabilitiesManager): only log execution time if debug mode is enabled#58971
Conversation
e31f263 to
76b8024
Compare
d284eaa to
89aa1ed
Compare
|
/backport to stable33 |
|
/backport to stable32 |
|
The point of the log line was for users to report the bug to the application developers I believe. Is it happening a lot? |
Unfortunately if the system is under high load, this reporting feature leads to a lot of false-positives if the response time increases due to the high load. So I would rather only enable it in debug mode. Added the reasoning to the PR description. |
ccd554f to
25b9cbe
Compare
…enabled Signed-off-by: Simon L. <szaimen@e.mail.de> Co-Authored-By: Anna <anna@nextcloud.com>
25b9cbe to
3f68ab4
Compare
I think it's wrong to not log when its not debug. Then no one will ever see this as it's no longer being logged on prod and locally most data sets and connections are quick anyway. |
This sounds generally like a good idea. How could this technically be implemented? |
Uh oh!
There was an error while loading. Please reload this page.