mod_tile icon indicating copy to clipboard operation
mod_tile copied to clipboard

initialising file storage backend debug messages

Open pnorman opened this issue 12 years ago • 3 comments

When running render_list I get the debug message debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile to stderr. My config file doesn't use /var/lib/mod_tile, so this message is incorrect

pnorman avatar Apr 25 '13 23:04 pnorman

Yes, this is a bug that I noticed as well. It's because that message is output when the LoadTileConfigFile directive is seen, but if ModTileTileDir appears later then the directory will change after the message is output.

I think the refactoring to support multiple storage backends may have fixed this though, as that message is now output when the file storage backend is initialised, which I think will be on the first request - basically it happens the first time tile_translate is called.

tomhughes avatar May 22 '13 07:05 tomhughes

render_list doesn't actually read any config files. All parameters are either the hard coded defaults, or you need to set them explicitly on the command line. In the case of the tiledir either with -t or --tile-dir. Does the later not work?

apmon avatar May 22 '13 08:05 apmon

Ah I hadn't noticed this bug was about render_list but when I saw this it was with mod_tile itself in the apache logs.

tomhughes avatar May 22 '13 08:05 tomhughes