Re: replace commons logging with slf4j

2014-05-21 Thread Chris Bowditch

Hi Jason,

Understood, but there have many other logging frameworks that supposedly 
offered the same thing. Commons Logging for example can handle JDK 
logging and log4j. S:F4J is newer than commons-logging, but other than 
that I see no compelling reason to move to it. Before changing the 
logging framework used by FOP we would want to evaluate a wide set of 
logging frameworks before picking one. AFAIK, No one within the 
committer team is currently looking at that.


Thanks,

Chris

On 19/05/2014 04:13, Jason Harrop wrote:

Hi Chris

SLF4J is a widely used logging facade, which allows you - the FOP user
- to use your preferred concrete logging framework (ie the one you use
in the rest of your application), as opposed to having to grapple with
the logging framework that at some point in time long ago seemed best
to the library developer.

cheers .. Jason

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org






-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: replace commons logging with slf4j

2014-05-18 Thread Jason Harrop
Hi Chris

SLF4J is a widely used logging facade, which allows you - the FOP user
- to use your preferred concrete logging framework (ie the one you use
in the rest of your application), as opposed to having to grapple with
the logging framework that at some point in time long ago seemed best
to the library developer.

cheers .. Jason

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: replace commons logging with slf4j

2014-05-10 Thread Chris Bowditch

Hi Jason,

What's the motivation for doing so? I had a quick glance at the slf4j 
website and it just looks like yet another logging framework. What 
problem does it solve, and what benefits does it have over commons logging?


Thanks,

Chris

On 24/04/2014 01:10, Jason Harrop wrote:
Any chance for FOP 2.0 of replacing commons-logging with slf4j?  Would 
also need to be done in xmlgraphics commons.


In the meantime, using jcl-over-slf4j instead of commons-logging 
works; see http://www.slf4j.org/legacy.html


But it be nice not to need even that.

thanks .. Jason




On Tue, Jun 4, 2013 at 10:20 PM, Bonekrusher djs...@yahoo.com 
mailto:djs...@yahoo.com wrote:


Thanks. These errors are being handled by the Apache Common
Logging. I was
able to turn off Logging:

System.setProperty(org.apache.commons.logging.Log,
org.apache.commons.logging.impl.NoOpLog);





--
View this message in context:

http://apache-fop.1065347.n5.nabble.com/EventListener-SEVERE-events-tp38650p38652.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail:
fop-users-unsubscr...@xmlgraphics.apache.org
mailto:fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail:
fop-users-h...@xmlgraphics.apache.org
mailto:fop-users-h...@xmlgraphics.apache.org





-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org