[mkgmap-dev] [PATCH v1] show OSM source file name in log messages
From Steve Ratcliffe steve at parabola.me.uk on Sun Jan 24 16:12:24 GMT 2010
Hi Mark > The attached patch adds the OSM source file name into log messages so > if you are processing multiple files, you know which file each message > relates to. There is a ThreadLocal class specially for keeping values on a per-thead basis, as in the attached modification to your patch. With your code there is a slight chance that there will be a problem if a value is set at exactly the same time as the tag is being accessed. ..Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: logging.patch Type: text/x-patch Size: 2628 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100124/1a463a43/attachment.bin
- Previous message: [mkgmap-dev] [PATCH v1] show OSM source file name in log messages
- Next message: [mkgmap-dev] [PATCH v1] show OSM source file name in log messages
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list