How to work with Commons Logging in FOP

2004-04-02 Thread Jeremias Maerki
As promised, I've changed the way the logger is fetched in the PDF library and the font code. Instead of passing a Log instance from parent to child (IoC, like with Avalon), logging-enabled classes fetch their own logger via JCL's LogFactory. The code gets easier. I'm quite happy with this. As

Re: How to work with Commons Logging in FOP

2004-04-02 Thread Glen Mazza
Chris Bowditch wrote: One additional thing is to add a system property to each startup configuration in your IDE where you need to configure logging. Working with Eclipse I've added... -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog We would need to add this to

Re: How to work with Commons Logging in FOP

2004-04-02 Thread Chris Bowditch
Glen Mazza wrote: Chris Bowditch wrote: snip/ -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog We would need to add this to FOP.sh or FOP.bat in CVS It might be more efficient to store this information in the Ant build file instead--I believe the .sh/.bat files just

Re: How to work with Commons Logging in FOP

2004-04-02 Thread Jeremias Maerki
On 02.04.2004 12:59:00 Chris Bowditch wrote: Jeremias Maerki wrote: snip/ As you may have seen I added a cvsignore file in the src directory. The idea is to put a simplelog.properties (or other such configuration file) in the src/private-resources directory so you can configure the