From 72335fb6311ac1721b8762c96ace532133455ce5 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 189a1825..7b1f9c47 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'); }