Merge pull request #13107 from owncloud/change-to-better-error-level

Use info instead of warning log level
This commit is contained in:
Bernhard Posselt 2015-01-05 12:09:59 +01:00
commit a6d2019014
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) { $this->registerService('ServerContainer', function ($c) {
$c->query('OCP\\ILogger')->warning( $c->query('OCP\\ILogger')->info(
'Accessing the server container is deprecated. Use type ' . 'Accessing the server container is deprecated. Use type ' .
'annotations to inject core services instead!' 'annotations to inject core services instead!'
); );
@ -222,7 +222,7 @@ class DIContainer extends SimpleContainer implements IAppContainer {
* App Framework APIs * App Framework APIs
*/ */
$this->registerService('API', function($c){ $this->registerService('API', function($c){
$c->query('OCP\\ILogger')->warning( $c->query('OCP\\ILogger')->info(
'Accessing the API class is deprecated! Use the appropriate ' . 'Accessing the API class is deprecated! Use the appropriate ' .
'services instead!' 'services instead!'
); );