Andrea Aime a écrit :
> I guess it should be practical enough... since we defined our "way" of 
> forwarding
> stuff to other loggers, I would have preferred a direct log4j adapter 
> thought :-)

It should be about as easy as an adapter to common-logging. I though that 
common-logging would be more praticable, but if people feel that a direct 
adapter to Log4J is better, it should be easy to do.

> Do you see difficulties in coding a log4j specific one? I can code it 
> myself, no problem.

I don't think there is any difficulties. We could copy the CommonHandler.java 
file into a Log4JHandler file (keeping it package-privated), replace the 
Commons-Logging dependencies by Log4J ones (I noticed that commons-logging 
seems 
to reflect closely Log4J API, so I expect the change to be straightforward), 
and 
copy and adapt the Logging.redirectToCommons() method.

        Martin

-------------------------------------------------------------------------
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

Reply via email to