[Tile-serving] [openstreetmap/mod_tile] Logging Improvements (#220)
hummeltech
notifications at github.com
Thu Mar 4 01:52:18 UTC 2021
Here's some sample output from my test Docker container:
```
** Message: 01:11:50.463: INFO: Rendering daemon started
** Message: 01:11:50.463: INFO: Initialising request_queue
** Message: 01:11:50.464: INFO: Parsing section renderd
** Message: 01:11:50.464: INFO: Parsing render section 0
** Message: 01:11:50.464: INFO: Parsing section mapnik
** Message: 01:11:50.464: INFO: Parsing section default
** Message: 01:11:50.464: INFO: config renderd: ip socket=tile-backend:7654
** Message: 01:11:50.464: INFO: config renderd: num_threads=4
** Message: 01:11:50.464: INFO: config renderd: num_slaves=0
** Message: 01:11:50.464: INFO: config renderd: tile_dir=/var/lib/mod_tile
** Message: 01:11:50.464: INFO: config renderd: stats_file=/var/run/renderd/renderd.stats
** Message: 01:11:50.464: INFO: config mapnik: plugins_dir=/usr/lib64/mapnik/input
** Message: 01:11:50.464: INFO: config mapnik: font_dir=/usr/share/fonts
** Message: 01:11:50.464: INFO: config mapnik: font_dir_recurse=1
** Message: 01:11:50.464: INFO: config renderd(0): Active
** Message: 01:11:50.464: INFO: config renderd(0): ip socket=tile-backend:7654
** Message: 01:11:50.464: INFO: config renderd(0): num_threads=4
** Message: 01:11:50.464: INFO: config renderd(0): tile_dir=/var/lib/mod_tile
** Message: 01:11:50.464: INFO: config renderd(0): stats_file=/var/run/renderd/renderd.stats
** Message: 01:11:50.464: INFO: config map 0: name(default) file(/etc/openstreetmap-carto/tile-backend.xml) uri(/osm_tiles/) htcp() host(127.0.0.1)
** Message: 01:11:50.464: INFO: Initialising TCP/IP server socket on tile-backend:7654
** Message: 01:11:50.464: INFO: Renderd is using mapnik version 3.0.23
```
You can enable debug messages with the `G_MESSAGES_DEBUG` environment variable, I.E. `G_MESSAGES_DEBUG=all`:
```
** (process:8): DEBUG: 01:11:51.398: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSinhalaUI-Thin.ttf
** (process:8): DEBUG: 01:11:51.399: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSymbols-Black.ttf
** (process:8): DEBUG: 01:11:51.399: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSymbols-Bold.ttf
** (process:8): DEBUG: 01:11:51.399: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSymbols-ExtraBold.ttf
** (process:8): DEBUG: 01:11:51.400: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSymbols-ExtraLight.ttf
** (process:8): DEBUG: 01:11:51.401: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSymbols-Light.ttf
** (process:8): DEBUG: 01:11:51.402: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSymbols-Medium.ttf
** (process:8): DEBUG: 01:11:51.403: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSymbols-Regular.ttf
** (process:8): DEBUG: 01:11:51.403: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSymbols-SemiBold.ttf
** (process:8): DEBUG: 01:11:51.404: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSymbols-Thin.ttf
** (process:8): DEBUG: 01:11:51.405: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSansSymbols2-Regular.ttf
** (process:8): DEBUG: 01:11:51.405: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSerifTibetan-Black.ttf
** (process:8): DEBUG: 01:11:51.406: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSerifTibetan-Bold.ttf
** (process:8): DEBUG: 01:11:51.406: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSerifTibetan-ExtraBold.ttf
** (process:8): DEBUG: 01:11:51.407: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSerifTibetan-ExtraLight.ttf
** (process:8): DEBUG: 01:11:51.408: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSerifTibetan-Light.ttf
** (process:8): DEBUG: 01:11:51.409: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSerifTibetan-Medium.ttf
** (process:8): DEBUG: 01:11:51.410: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSerifTibetan-Regular.ttf
** (process:8): DEBUG: 01:11:51.410: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSerifTibetan-SemiBold.ttf
** (process:8): DEBUG: 01:11:51.410: DEBUG: Loading font: /usr/share/fonts/google-noto-fonts-extra/NotoSerifTibetan-Thin.ttf
** (process:8): DEBUG: 01:11:51.411: DEBUG: Loading font: /usr/share/fonts/hanazono/HanaMinA.ttf
** (process:8): DEBUG: 01:11:51.412: DEBUG: Loading font: /usr/share/fonts/hanazono/HanaMinB.ttf
** Message: 01:11:51.412: INFO: Running in foreground mode...
** (process:8): DEBUG: 01:11:51.412: DEBUG: Starting stats thread
** (process:8): DEBUG: 01:11:51.412: DEBUG: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
** (process:8): DEBUG: 01:11:51.412: DEBUG: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
** (process:8): DEBUG: 01:11:51.412: DEBUG: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
** (process:8): DEBUG: 01:11:51.412: DEBUG: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
```
--
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/mod_tile/pull/220#issuecomment-790221745
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210303/723ba169/attachment.htm>
More information about the Tile-serving
mailing list