diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-01-06 13:43:40 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-06 13:43:40 +0100 |
commit | 4ffe7ddb753ff3395623a3bbb09883bbce8de00e (patch) | |
tree | 322bba2d1c86ce97537d02275a01834169f745c0 /lib/private/appframework/dependencyinjection | |
parent | 6a3f69c2d043203a7650d16200accd0303430e09 (diff) | |
download | nextcloud-server-4ffe7ddb753ff3395623a3bbb09883bbce8de00e.tar.gz nextcloud-server-4ffe7ddb753ff3395623a3bbb09883bbce8de00e.zip |
degraded logging policy for server container in AppFramework
Diffstat (limited to 'lib/private/appframework/dependencyinjection')
-rw-r--r-- | lib/private/appframework/dependencyinjection/dicontainer.php | 4 |
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!' ); |