summaryrefslogtreecommitdiffstats
path: root/lib/private/Log
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-26 16:19:03 +0200
committerJoas Schilling <coding@schilljs.com>2021-04-26 16:19:03 +0200
commit21ed3419f383937aa913ca12bd38acb648c74347 (patch)
tree678159cb06154b6ad06e500cbaffde217ba687df /lib/private/Log
parent8d9e5e0b915bab667a22307d67b2788f14c48f89 (diff)
downloadnextcloud-server-21ed3419f383937aa913ca12bd38acb648c74347.tar.gz
nextcloud-server-21ed3419f383937aa913ca12bd38acb648c74347.zip
Log deprecation only as debug
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Log')
-rw-r--r--lib/private/Log/ErrorHandler.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Log/ErrorHandler.php b/lib/private/Log/ErrorHandler.php
index b877bd7cb19..c293c5db83d 100644
--- a/lib/private/Log/ErrorHandler.php
+++ b/lib/private/Log/ErrorHandler.php
@@ -106,6 +106,8 @@ class ErrorHandler {
return ILogger::WARN;
case E_USER_DEPRECATED:
+ return ILogger::DEBUG;
+
case E_USER_NOTICE:
return ILogger::INFO;