Martin (and others!), Using the Logging class from the metadata module, plus Justin's patch to the CommonHandler class, I was able to get log4j logging (via commons-logging) working in geoserver.
This is *really* exciting for the geoserver folks, as letting geoserver logging get more flexible than it currently is, is a big goal. So from the geotools side, there are two things that need to be done. 1) http://jira.codehaus.org/browse/GEOT-1202 needs to get applied. This is justin's 'tweak' of the CommonHandler class to do some log-level mapping reorganization, etc. 2) http://jira.codehaus.org/browse/GEOT-1220 needs to get applied. This is my one-line patch, changing Logging.java's constructor from private to public (allowing Geoserver to use this same class to re-direct its own Java logging streams). Martin, what do you think of these changes? Do you think they can be applied as is to trunk and 2.3.x? Or are there other issues that you think need to be addressed? Anyone else have any comments on these changes? thanks, --saul ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
