You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Torsten Rüger <to...@firsthop.com> on 2002/09/13 15:33:16 UTC

Logging

Hello,

I don't get my logging to work, maybe someone could help ?

I have written an implementation of org.apache.commons.logging.Log .
But I can't influence the environment or java startup command.
So I need to set the log propert programmatically. So I put something like
  static {
    LogFactory.getFactory().setAttribute("org.apache.commons.logging.Log",
                  "com.firsthop.mmgr.manager.service.JakartaLogBridge");
  }

into the class that first executes, but nothing changes. I have tried 
also the null logger. I have also tried to set the system property. But 
always I get the stack trace to stderrr (AxisFault) .

What to do ?

Thanks
    Torsten


Re: Logging

Posted by Torsten Rüger <to...@firsthop.com>.
Moi

does anyone have any idea about the problem below ?

> Hello,
>
> I don't get my logging to work, maybe someone could help ?
>
> I have written an implementation of org.apache.commons.logging.Log .
> But I can't influence the environment or java startup command.
> So I need to set the log propert programmatically. So I put something 
> like
>  static {
>    LogFactory.getFactory().setAttribute("org.apache.commons.logging.Log",
>                  "com.firsthop.mmgr.manager.service.JakartaLogBridge");
>  }
>
> into the class that first executes, but nothing changes. I have tried 
> also the null logger. I have also tried to set the system property. 
> But always I get the stack trace to stderrr (AxisFault) .
>
> What to do ?
>
> Thanks
>    Torsten