You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Binod Garg <bi...@gmail.com> on 2008/12/18 12:38:28 UTC

Log Messages in FOP.

HI ,
I want to put my log level to "error" in FOP. My problem is that we use the
same logger in multiple places. What should I do?


Thanks,
Binod

Re: Log Messages in FOP.

Posted by bonekrusher <dj...@yahoo.com>.
Hi Jeremias,

I did, forgot it was in the trunk.

Thanks,

Phil

-- 
View this message in context: http://www.nabble.com/Log-Messages-in-FOP.-tp21071120p21098035.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: Log Messages in FOP.

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
I thought you tried it already. Not sure what you mean. The whole thing
is available in FOP Trunk and will be in the next release. It's
described here: http://xmlgraphics.apache.org/fop/trunk/events.html

On 19.12.2008 18:55:41 Philip V wrote:
> 
> Jeremias,
> 
> in regards to logging errors, was this ever implemented?
> 
> http://www.nabble.com/ErrorListener--0.95--td19203830.html#a19218919
> 
> 
> Thanks,
> 
> -- 
> View this message in context: http://www.nabble.com/Log-Messages-in-FOP.-tp21071120p21095650.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 



Jeremias Maerki


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


Re: Log Messages in FOP.

Posted by Philip V <ph...@verizon.net>.
Jeremias,

in regards to logging errors, was this ever implemented?

http://www.nabble.com/ErrorListener--0.95--td19203830.html#a19218919


Thanks,

-- 
View this message in context: http://www.nabble.com/Log-Messages-in-FOP.-tp21071120p21095650.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: Log Messages in FOP.

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Well, you don't say what logger you're using. FOP uses Apache Commons
Logging [1]. So you have to set up the backing logging implementation 
(be that Log4J, java.util.logging or whatever) accordingly. FOP uses
logging categories under the "org.apache.fop" category.

[1] http://xmlgraphics.apache.org/fop/0.95/embedding.html#basic-logging

Our Wiki has an example for setting up java.util.logging:
http://wiki.apache.org/xmlgraphics-fop/HowTo/SetupJDK14Logging

On 18.12.2008 12:38:28 Binod Garg wrote:
> HI ,
> I want to put my log level to "error" in FOP. My problem is that we use the
> same logger in multiple places. What should I do?
> 
> 
> Thanks,
> Binod




Jeremias Maerki


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