[Tile-serving] [openstreetmap/osm2pgsql] Log thread id in each log line when debug logging is enabled (#1382)
Jochen Topf
notifications at github.com
Sun Dec 20 15:44:04 UTC 2020
On Linux this looks something like this:
```
...
2020-12-20 16:43:05 140587509511936 Clustering table 'lines' by geometry...
2020-12-20 16:43:05 140587526297344 Clustering table 'points' by geometry...
2020-12-20 16:43:05 140587551475456 Clustering table 'polygons' by geometry...
2020-12-20 16:43:05 140588667282560 node cache: stored: 1439690(100.00%), storage efficiency: 49.89% (dense blocks: 3, sparse nodes: 1430441), hit rate: 100.00%
2020-12-20 16:43:05 140587517904640 Clustering table 'routes' by geometry...
2020-12-20 16:43:05 140587517904640 Using native order for clustering table 'routes'
2020-12-20 16:43:05 140587551475456 Using native order for clustering table 'polygons'
2020-12-20 16:43:05 140587509511936 Using native order for clustering table 'lines'
...
```
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1382
-- Commit Summary --
* Log thread id in each log line when debug logging is enabled
-- File Changes --
M src/logging.hpp (9)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1382.patch
https://github.com/openstreetmap/osm2pgsql/pull/1382.diff
--
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/pull/1382
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201220/91cf25b2/attachment.htm>
More information about the Tile-serving
mailing list