diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-01-05 11:18:11 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-01-05 11:18:54 +0100 |
commit | 8689605999f9266893e5401ed541877e811c1fd2 (patch) | |
tree | 9bd9e0686d12bb5cfea3d90029c4b255caa4965e /lib | |
parent | f2e759b53317a10c585c1dd123382f0f147af228 (diff) | |
download | nextcloud-server-8689605999f9266893e5401ed541877e811c1fd2.tar.gz nextcloud-server-8689605999f9266893e5401ed541877e811c1fd2.zip |
Use info instead of warning log level
Otherwise the log is flooded as can be seen at https://github.com/owncloud/core/issues/13106
Fixes https://github.com/owncloud/core/issues/13106
Diffstat (limited to 'lib')
-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 2c5089865a3..8d44d5fda87 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')->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!' ); |