logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: Using log(fqcn,level, message, throwable): how is fqcn displayed in the formatted output?
Date Thu, 06 Nov 2003 15:16:50 GMT

Hello Francis,

The fqcn parameter is only used to correctly extract caller's location 
information (class name, file name, line number). The fqcn parameter is not 


At 03:24 PM 11/6/2003 +0100, Francis Le Monnier wrote:
>If I use log(fqcn,level, message, throwable) to generate a log event, which
>% parameter do I use to display the fqcn in my formatted logging event?  No
>matter what I pass as fqcn, it appear to display only the logger class when
>I use %c, a ? when I use %C and () when I use %l.
>So, in the call log("this.is.my.pack", Priority.DEBUG, "my pack message",
>null), how do I see "this.is.my.pack" in the output?

Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

      import org.apache.Facetime;
      ApacheCon US 2003, 18-21 November http://apachecon.com/

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

View raw message