From: Sarah Hoffmann Date: Tue, 28 Jul 2020 20:35:51 +0000 (+0200) Subject: make indexing during updates less quiet X-Git-Tag: v3.6.0~105^2 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/b78cd3f4c9a884669a40d6fcae4901f7a47e43d6 make indexing during updates less quiet Adjust verbosity behaviour to that of indexing during setup. --- diff --git a/utils/update.php b/utils/update.php index fdc955ea..cba58d31 100644 --- a/utils/update.php +++ b/utils/update.php @@ -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'); }