diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-11-15 14:34:09 +0100 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2021-11-22 20:54:58 +0100 |
commit | d0689fb707c4b7f8d0a83b105d46902ccdade845 (patch) | |
tree | 4bbeb2ccdcb278dcc3f107956f9d1cc191a7bab0 /lib | |
parent | 1256331c778540497f525cae5e8a108a92cee607 (diff) | |
download | nextcloud-server-d0689fb707c4b7f8d0a83b105d46902ccdade845.tar.gz nextcloud-server-d0689fb707c4b7f8d0a83b105d46902ccdade845.zip |
Do not print verbose info about app updates if there are none
This is cosmetical but if you have a large number of apps installed then
you'll see a wall of text during the server and app upgrade when it
tries to update each app via the app store. In may cases nothing will be
updated. For those boring cases we can hide the verbose info, but show
when occ is run with -v. Any actual update will still print a few lines.
Those are the important ones for the admin.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Updater.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Updater.php b/lib/private/Updater.php index a8711944341..1708b339e8d 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -558,13 +558,13 @@ class Updater extends BasicEmitter { $log->info('\OC\Updater::incompatibleAppDisabled: Disabled incompatible app: ' . $app, ['app' => 'updater']); }); $this->listen('\OC\Updater', 'checkAppStoreAppBefore', function ($app) use ($log) { - $log->info('\OC\Updater::checkAppStoreAppBefore: Checking for update of app "' . $app . '" in appstore', ['app' => 'updater']); + $log->debug('\OC\Updater::checkAppStoreAppBefore: Checking for update of app "' . $app . '" in appstore', ['app' => 'updater']); }); $this->listen('\OC\Updater', 'upgradeAppStoreApp', function ($app) use ($log) { $log->info('\OC\Updater::upgradeAppStoreApp: Update app "' . $app . '" from appstore', ['app' => 'updater']); }); $this->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($log) { - $log->info('\OC\Updater::checkAppStoreApp: Checked for update of app "' . $app . '" in appstore', ['app' => 'updater']); + $log->debug('\OC\Updater::checkAppStoreApp: Checked for update of app "' . $app . '" in appstore', ['app' => 'updater']); }); $this->listen('\OC\Updater', 'appUpgradeCheckBefore', function () use ($log) { $log->info('\OC\Updater::appUpgradeCheckBefore: Checking updates of apps', ['app' => 'updater']); |