I am using oc4j as an application server and the logger used is
java.util.logging.Logger
When I am trying to use org.apache.commons.logging.LogFactory I get:
an 'org.apache.commons.logging does not exist' error.
cbowditch wrote:
>
> juanita wrote:
>>
>> However firstly in the fop.jar of version 0.93 there is no
>> org.apache.commons.logging.LogFactory class.
>
> That class isn't in FOP.jar but it is in commons-logging-1.0.4.jar which
> is distributed with FOP in the lib sub directory.
>
>> and secondly when you say that I should know the logging implementation
>> that
>> is installed in my environment
>> what do you mean?
>
> Commons Logging is designed to work with a variety of other logging
> providers, e.g. log4J and JDK logging. If you are deploying FOP into an
> Application Server, e.g. JBoss, then you will know what logging
> framework is provided with your Application Server and how to configure
> it. If you don't then seek local help on how to configure logging in
> your environment.
>
> If you using FOP as a standalone application on JDK 1.4 and above I
> think JDK logging is used and the property that J.Pietschmann gave you
> can be used to control the log level:
>
> org.apache.commons.logging.LogFactory.setAttribute("level","fatal")
>
> Chris
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Package-messaging-is-missing-from-fop-0.93-tf4028223.html#a11580436
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]