go-spatial / tegola

Tegola is a Mapbox Vector Tile server written in Go
http://tegola.io/
MIT License
1.25k stars 193 forks source link

Add option to only log tiles that are slow to render during seeding #878

Closed dwoznicki closed 1 year ago

dwoznicki commented 1 year ago

When seeding tiles, I'd like the option to control logging output so that I only see tiles which took a while to render. The current behavior is to log the render time for all tiles, which produces a lot of output at higher zoom levels.

I'd propose a --log-threshold int flag, where int is the amount of time in milliseconds. Tiles that take less than int time to render won't be logged.