Re: [mkgmap-dev] Error in mkgmaps logging class?

2021-03-15 Thread Mike Baggaley
config file. Cheers, Mike -Original Message- From: Gerd Petermann [mailto:gpetermann_muenc...@hotmail.com] Sent: 15 March 2021 14:29 To: Development list for mkgmap Subject: Re: [mkgmap-dev] Error in mkgmaps logging class? Hi Mike, not sure if this will help users to use warning level

Re: [mkgmap-dev] Error in mkgmaps logging class?

2021-03-15 Thread Gerd Petermann
ata. Gerd Von: mkgmap-dev im Auftrag von Mike Baggaley Gesendet: Montag, 15. März 2021 14:02 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] Error in mkgmaps logging class? HI Gerd/Steve, The current code with the handler set to SEVERE and logger set

Re: [mkgmap-dev] Error in mkgmaps logging class?

2021-03-15 Thread Steve Ratcliffe
Hi Gerd I've noticed that log.isLoggable(Level.WARNING) always returns true when I don't use the -Dconfig.logging option for JRE . This is unexpected as calls to log.warn(...) don't produce any output in this case. The attached simple patch seems to fix this but I don't really understand the

Re: [mkgmap-dev] Error in mkgmaps logging class?

2021-03-15 Thread Mike Baggaley
suggest handler.setLevel(Level.FINE); l.setLevel(Level.WARNING); Cheers, Mike -Original Message- From: Gerd Petermann [mailto:gpetermann_muenc...@hotmail.com] Sent: 15 March 2021 08:52 To: Steve Ratcliffe ; 'Development list for mkgmap' Subject: [mkgmap-dev] Error in mkgmaps logging class

[mkgmap-dev] Error in mkgmaps logging class?

2021-03-15 Thread Gerd Petermann
Hi Steve, Please review: I've noticed that log.isLoggable(Level.WARNING) always returns true when I don't use the -Dconfig.logging option for JRE . This is unexpected as calls to log.warn(...) don't produce any output in this case. The attached simple patch seems to fix this but I don't