It works !
Thank you Martin !
Le 29 janv. 09 à 19:22, Martin Desruisseaux a écrit :
> Benoît Thiébault a écrit :
>> I am using Log4j as logging system for my application and I would
>> like to redirect this message to another appender, a graphical
>> dialog that is more user friendly than a console log. How can I do
>> this ?
>
>
> Could you try to put the following line at the begining of your
> application, before most GeoTools classes get loaded?
>
> Logging
> .GEOTOOLS
> .setLoggerFactory("org.geotools.util.logging.Log4JLoggerFactory");
>
> Martin
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users