From b78cd3f4c9a884669a40d6fcae4901f7a47e43d6 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 28 Jul 2020 22:35:51 +0200 Subject: [PATCH] make indexing during updates less quiet Adjust verbosity behaviour to that of indexing during setup. --- utils/update.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'); } -- 2.45.2