You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Ceki Gülcü <ce...@qos.ch> on 2003/11/06 16:16:50 UTC

Re: Using log(fqcn,level, message, throwable): how is fqcn displayed in the formatted output?

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 
displayed.

HTH.

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?
>
>Thanks

-- 
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