Hi,
trying to switch GeoServer I noticed the LoggerFactory subclasses,
the commons and log4j ones, are package private and thus cannot
be used directly.

The way seems to use 
Logging.setLoggingFramework(LoggingFramework.LOG4J). Now, I find
this a little convoluted, why can't we set the log factory directly
(making it a public class of course).

This would also go in the way of making internal and external
implementation on the same page, since if you're doing an external
implementation you're probably going to call setLoggerFactory(xxx)
anyways. I fail to see what LoggingFramework is buying us (other
than an extra level on indirection).

Cheers
Andrea

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to