I am using a Configuration file to configure a ConsoleAppender ... among
others

Here are the lines in the configuration file that configure this appender:

====================================
# THIS APPENDER WRITES TO THE CONSOLE
log4j.appender.C1=org.apache.log4j.ConsoleAppender
log4j.appender.C1.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
log4j.appender.C1.layout.ConversionPattern=%d %-5p [%t] (%F:%L)-%m%n
========================================================

Running this under Windows 2000 I get the expected output with file name &
line numbers.

But under UNIX using the same appender definition I am getting (?:?) instead
of file name & line numbers.


Can anyone help me out here?

Thanks in Advance, Stephen

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

Reply via email to