summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorAndy Xheli <axheli@axtsolutions.com>2022-08-29 13:27:12 -0500
committerGitHub <noreply@github.com>2022-08-29 13:27:12 -0500
commit12c81238737a98237277c89091b386d60a7c4930 (patch)
tree8489350b53d59188b3cf5192bb0c85703055a7df /lib/base.php
parentd7deeb4e02121e2b4f07b4b02c9c6fc7fd70b137 (diff)
downloadnextcloud-server-12c81238737a98237277c89091b386d60a7c4930.tar.gz
nextcloud-server-12c81238737a98237277c89091b386d60a7c4930.zip
Makes untrusted domain error on info
Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Since https://github.com/nextcloud/server/commit/e6d9ef2e38daffcab808eaa41b18ab16c6253b97 was applied logs get filled up with Trusted domain error. "X.X.X.X tried to access using "X.X.X.X" as host alot of users missed important errors do tohttps://github.com/nextcloud/server/commit/e6d9ef2e38daffcab808eaa41b18ab16c6253b97 please see https://github.com/nextcloud/server/issues/32599 This should fix. https://github.com/nextcloud/server/issues/32599#event-7281164903 Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 1fca124f072..470e3f71af2 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -802,7 +802,7 @@ class OC {
if (!$isScssRequest) {
http_response_code(400);
- \OC::$server->getLogger()->warning(
+ \OC::$server->getLogger()->info(
'Trusted domain error. "{remoteAddress}" tried to access using "{host}" as host.',
[
'app' => 'core',