]> 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>
Thu, 24 Sep 2020 08:14:49 +0000 (10:14 +0200)
Adjust verbosity behaviour to that of indexing during setup.

utils/update.php

index 189a18255090732a4d62f08f9436caa8447b99da..7b1f9c47d3cee0d81089d7e0e5da71d04b516174 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');
 }