gah, sorry, never mind, it works. Every time I have a problems I
always find it just after sending out an email about it. I had a typo
in my log4j config which mean I was changing the wrong thing.

On 9/13/12, Ted <[email protected]> wrote:
> Hi I'm trying to make cxf use log4j instead of the java.util loggers.
>
> I'm following the directions at
> http://cxf.apache.org/docs/debugging-and-logging.html where I'm
> passing -Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger
> into JAVA_OPTS for tomcat.
>
> It's not working, at least for messages from
> ReflectionServiceFactoryBean.java. A quick look at the source shows
>
>    private static final Logger LOG =
> LogUtils.getL7dLogger(ReflectionServiceFactoryBean.class);
>
> and a quick look at getL7dLogger() appears to be hard coded to return
> a java.util.Logger, not a commons logging or anything that would allow
> it to switch between different loggers.
>
> Anyone know anything about this? am I switching it wrong or is the
> documentation wrong or is the code wrong?
>
> thanks.
> --
> Ted.
>


-- 
Ted.

Reply via email to