logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harp, George" <GH...@GAINSystems.com>
Subject Log4j1.1.12 and TRACE level
Date Thu, 06 Oct 2005 15:58:12 GMT
I just downloaded 1.2.12 and tried to use TRACE level. It printed out
but I got a ? mark in both the method name and class name parts of my
pattern layout.
So C and M. 
my entire Log4j.xml file is: 

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<!-- Make debug="true" attribute for parsing information -->

<log4j:configuration debug="null"

<appender name="Console" class="org.apache.log4j.ConsoleAppender"> 

<layout class="org.apache.log4j.PatternLayout">

<param name="ConversionPattern"

value="%d{dd-MM-yyyy HH:mm:ss} %p %C{1} %M %m%n"/>



<appender name="LogFile" class="org.apache.log4j.FileAppender">

<param name="File"


<param name="Threshold"


<param name="Append"


<layout class="org.apache.log4j.PatternLayout">

<param name="ConversionPattern"

value="%d{dd-MM-yyyy HH:mm:ss} %-9.9p %-19.19C{1} %-19.19M %m%n"/>



<!-- uncomment this out to get debug for 1 class or package

just change the name element

<logger name="net.gainsystems.log4j.GainsBatchLog4jHeaderFileAppender">

<level value="DEBUG" />




<level value="TRACE"/>

<appender-ref ref="Console"/>

<appender-ref ref="LogFile"/>




Is this a known issue are there work arounds? Did i mess up the setup?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message