summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-01-06 14:38:50 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-01-06 14:38:50 +0100
commit68efeba343f05c48763ce176bb7a1359879245b3 (patch)
tree70a2a500d6c46096c37af277631978fdaf742fb7 /lib
parent20886d8151f72e919ae6d17632aeb510eba28ca6 (diff)
parent4ffe7ddb753ff3395623a3bbb09883bbce8de00e (diff)
downloadnextcloud-server-68efeba343f05c48763ce176bb7a1359879245b3.tar.gz
nextcloud-server-68efeba343f05c48763ce176bb7a1359879245b3.zip
Merge pull request #13125 from owncloud/lower-deprecation-warning-level
degraded logging policy for server container in AppFramework
Diffstat (limited to 'lib')
-rw-r--r--lib/private/appframework/dependencyinjection/dicontainer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/appframework/dependencyinjection/dicontainer.php b/lib/private/appframework/dependencyinjection/dicontainer.php
index 8d44d5fda87..f6a0c0c4974 100644
--- a/lib/private/appframework/dependencyinjection/dicontainer.php
+++ b/lib/private/appframework/dependencyinjection/dicontainer.php
@@ -201,7 +201,7 @@ class DIContainer extends SimpleContainer implements IAppContainer {
});
$this->registerService('ServerContainer', function ($c) {
- $c->query('OCP\\ILogger')->info(
+ $c->query('OCP\\ILogger')->debug(
'Accessing the server container is deprecated. Use type ' .
'annotations to inject core services instead!'
);
@@ -222,7 +222,7 @@ class DIContainer extends SimpleContainer implements IAppContainer {
* App Framework APIs
*/
$this->registerService('API', function($c){
- $c->query('OCP\\ILogger')->info(
+ $c->query('OCP\\ILogger')->debug(
'Accessing the API class is deprecated! Use the appropriate ' .
'services instead!'
);