Skip to content
Snippets Groups Projects
Commit a6d20190 authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

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

Use info instead of warning log level
parents a0023974 86896059
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@ class DIContainer extends SimpleContainer implements IAppContainer {
});
$this->registerService('ServerContainer', function ($c) {
$c->query('OCP\\ILogger')->warning(
$c->query('OCP\\ILogger')->info(
'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')->warning(
$c->query('OCP\\ILogger')->info(
'Accessing the API class is deprecated! Use the appropriate ' .
'services instead!'
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment