[Tile-serving] [openstreetmap/osm2pgsql] Option to disable live parsing stats (#1088)
Ilya Zverev
notifications at github.com
Tue Mar 10 19:17:11 UTC 2020
When importing an OSM file in background, osm2pgsql still prints its `"Processing: Node(122754k 189.4k/s) Way(11744k 18.58k/s) Relation(0 0.00/s)"` once for each 10k nodes or 1k ways (see `parse-osmium.hpp`). The issue with this is, when you redirect the output, it accumulates tens of thousands lines of this output. Which is completely unusable, and hogs the terminal when on error, it is suddently printed.
Could you please add an option, or check that osm2pgsql is printing its data not to a tty, to disable parsing stats updates? All other info should stay, of course.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1088
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200310/365c07d5/attachment.htm>
More information about the Tile-serving
mailing list