diff --git a/lib/private/appframework/dependencyinjection/dicontainer.php b/lib/private/appframework/dependencyinjection/dicontainer.php index 8d44d5fda8..f6a0c0c497 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!' );