diff --git a/lib/SimpleSAML/Locale/Localization.php b/lib/SimpleSAML/Locale/Localization.php index 8a9346aacc307f9542633e38a4012b381d42d740..3731b1e4ddd3572f05323ec5236f319223661026 100644 --- a/lib/SimpleSAML/Locale/Localization.php +++ b/lib/SimpleSAML/Locale/Localization.php @@ -240,7 +240,7 @@ class Localization $langPath = $this->getLangPath($domain); } catch (\Exception $e) { $error = "Something went wrong when trying to get path to language file, cannot load domain '$domain'."; - Logger::error($_SERVER['PHP_SELF'].' - '.$error); + Logger::debug($_SERVER['PHP_SELF'].' - '.$error); if ($catchException) { // bail out! return; @@ -255,7 +255,7 @@ class Localization $this->translator->loadTranslations($translations); } else { $error = "Localization file '$poFile' not found in '$langPath', falling back to default"; - Logger::error($_SERVER['PHP_SELF'].' - '.$error); + Logger::debug($_SERVER['PHP_SELF'].' - '.$error); } }