degraded logging policy for server container in AppFramework

This commit is contained in:
Morris Jobke 2015-01-06 13:43:40 +01:00
parent 6a3f69c2d0
commit 4ffe7ddb75
1 changed files with 2 additions and 2 deletions

View File

@ -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!'
);