]> git.openstreetmap.org Git - nominatim.git/commitdiff
make indexing during updates less quiet
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 28 Jul 2020 20:35:51 +0000 (22:35 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 28 Jul 2020 20:35:51 +0000 (22:35 +0200)
Adjust verbosity behaviour to that of indexing during setup.

utils/update.php

index fdc955ea26fa9a7e680f7f6d243c0f3d90752d58..cba58d3119180009b8b12a00d83ef48d659c1d53 100644 (file)
@@ -103,7 +103,9 @@ $oIndexCmd = (new \Nominatim\Shell(CONST_BasePath.'/nominatim/nominatim.py'))
              ->addParams('--database', $aDSNInfo['database'])
              ->addParams('--port', $aDSNInfo['port'])
              ->addParams('--threads', $aResult['index-instances']);
-
+if (!$aResult['quiet']) {
+    $oIndexCmd->addParams('--verbose');
+}
 if ($aResult['verbose']) {
     $oIndexCmd->addParams('--verbose');
 }