arati wrote:

I want to print the Filename and Line number of the message that's why I
used %F:%L in the conversion pattern.

But this information is not getting printed in the file.

Instead of filename or line number ? is appears in the log file.

Can anybody tell me how to get this info in the log file.
It depends on your JVM. Not all JVM can produce such information.

This has nothing to do with MINA or the configuration.

AFAIR, the way traces are being generated is : Log4j generates a StackTrace, and extract from it all the informations you get in the logs, including the file name and line number. If the JVM does not generate those informations while create this stackTrace, you will get '?' instead.
Thanks




--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to