Hello, 

This is from the Troubleshooting guide:

Location information is printed as a "?" character.
===================================================

Location information is extracted automatically by the PatternLayout conversion 
patterns %C, %F, %M and %L. However, some just-in-time (JIT) compilers make it 
impossible to extract location information. It is also possible that the compilier 
that generated the byte code may have ommitted the LineNumber table as is done by -O 
option of javac and jikes. 

You can remedy this problem by disabling the JIT compiler and by compiling the code 
without the -O option. 



At 11:57 21.02.2001 -0500, [EMAIL PROTECTED] wrote:
>I am getting strange output when using an AsyncAppender and a PatternLayout:
>
>
>        2001-02-21 11:44:40,135 FATAL [main] ? (?:?) - fatal
>
>
>Here is part of my config file:
>
><appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
>    <appender-ref ref="STDOUT"/>
></appender>
>
><appender name="STDOUT" class="org.apache.log4j.FileAppender">
>    <param name="File" value="System.out"/>
>    <layout class="org.apache.log4j.PatternLayout">
>      <param name="ConversionPattern" value="%d %-5p [%t] %C{2} (%F:%L) -
>%m\n"/>
>    </layout>
></appender>
>
><category name="com.javtech.utils.logging">
>    <priority value="debug"/>
></category>
>
><root>
>    <priority value="debug"/>
>    <appender-ref ref="ASYNC"/>
> </root>
>        
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

----
Ceki Gülcü          Web:   http://qos.ch      
av. de Rumine 5     email: [EMAIL PROTECTED] (preferred)
CH-1005 Lausanne           [EMAIL PROTECTED]
Switzerland         Tel: ++41 21 351 23 15


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to