----- Original Message ----
> From: Daniel Kulp <[email protected]>
> To: [email protected]
> Cc: Woonsan Ko <[email protected]>
> Sent: Fri, July 22, 2011 3:32:14 PM
> Subject: Re: LocationAwareness in Slf4jLogger
>
> On Friday, July 22, 2011 11:10:50 AM Woonsan Ko wrote:
> > Hi,
> >
> > The current CXF Slf4jLogger just invokes the internal slf4j logger object.
> > In this way, it cannot show the original logging location.
> > For example, when logging configuration contains something like '%C:%L', it
> > prints the Slf4jLogger class name and its line number instead of the
> > caller's class name and its line number.
> > In order to show the original logging locations nicely, we can use
> > org.slf4j.spi.LocationAwareLogger#log(, fqcn, ...) operation. With
>provision
> > of the FQCN of the wrapper class (Slf4jLogger, in this case), the
> > underlying slf4j logger will find the exact logging location.
> > Shall I create a patch for this with a JIRA issue?
>
> Yea! That would be great. We had to do a bunch of things like this for
> the
>
> Log4J logger as well to get the correct location. A patch would definitely
> be welcome!
I've created a JIRA issue: https://issues.apache.org/jira/browse/CXF-3680
I'll provide a patch for both Slf4jLogger and Log4jLogger.
Thanks,
Woonsan
>
> --
> Daniel Kulp
> [email protected]
> http://dankulp.com/blog
> Talend - http://www.talend.com
>