Andrea Aime a écrit : > That GeoTools.setFactory(LogFactory factory) proposal from Jody > sounds nice in that it's extensible...
Yes I like that. We can plug that in the usual plugin factory mechanism. > I really don't understand why GeoTooos.init() should call > redirectToCommonLogging() thought? Only because it was a user demand. I never use GeoTools.init() myself, but some other peoples like to have everything in a single place. I would not mind to put "redirectToLog4J()" in GeoTools if it was the only logging-related method. But we have others (e.g. Logging.unexpectedException which is just a convenience method that I use for logging an unexpected but recoverable exception), and I guess that we may want to add more in the future (maybe addLoggerFactory(...) following Jody's proposal?). So a dedicaced class holding the logging-related methods may be nice. Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel