Interesting, have a look at the GeoTools.init method and how logging is set
up.  There is some code to capture logging message generated by the library
and route them into whatever logging system your application is using -
such as log4j or java logging.

The GeoMesa project did a bit of work to make this startup nicer, perhaps
that is why GeoTools 14 does not have the same issue?

--
Jody Garnett

On 9 December 2015 at 02:02, Rémi Passmoilesel <[email protected]>
wrote:

> Hello everybody,
>
> I'm new on this list, my name is Rémi and I'm French. I use Geotools for a
> small map software and it's a great library !
>
> Today I have encountered an issue with Geotools 12. I use Java Logging API
> to log simply messages from my own software and I add FileAppender with
> rolling configuration. My code works well alone but when I add Geotools
> (12) to my POM file all my handlers are removed.
>
> I think Geotools 12 logging tools reset root logger, is that correct ?
>
> I changed to Geotools 14 and issue disappear.
>
> Thanks for your help !
>
>
>
> *--Rémi Passmoilesel*
>
>
> *----------------------------*
>
> *Un bol d'air frais ?**http://www.toutes-les-bulles-eclatent.fr
> <http://www.toutes-les-bulles-eclatent.fr>*
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to