commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Antonio Pérez Testa <japte...@indra.es>
Subject Re: [logging] How to get logging to use new Monolog subclass
Date Wed, 12 May 2004 16:19:42 GMT
Try an empty implementation of MonologLogger. Maybe the implementation 
also uses logs in any way ...
If the empty implementation gets instantiated the problem will be in 
your implementation.

If not try replacing all that code for
return new MonologLogger("Forced")

and see what happen ...
I'm running out of ideas :)

Igor Smirnov wrote:

>This is odd:
>logClass.getConstructor(logConstructorSignature)
>
>return a No Class Definition Exception!
>
>and here are the values
>logClass= Class (org.apache.commons.logging.impl.MonologLogger)
>I DO have a
>    public MonologLogger(String name) {
>        this.logger=lf.getLogger(name);
>    }
>
>
>----- Original Message -----
>From: "José Antonio Pérez Testa" <japtesta@indra.es>
>To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
>Sent: Wednesday, May 12, 2004 3:31 PM
>Subject: Re: [logging] How to get logging to use new Monolog subclass
>
>
>  
>
>>Well done!
>>if everything is right  logClass must be YourImplementation.class and
>>if  YourImplementation has a constructor like
>>public YourImplementation(String name) {....}
>>it HAS TO work!!
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message