%L - Java source line number pattern format doesn't work
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Steven_Kerckhof
Posted On:   Friday, February 10, 2006 01:06 PM

Can someone tell me why %L doesn't work for me? The output I receive shows a question mark instead of a line number:


			
INFO 20060210 11:29:32:725: Purge.validateDatabase(?): Total elapsed time: 00:00:00.350



My pattern follows:


			
log4j.appender.destSystemConsole.layout.ConversionPattern=%-5p %d{yyyyMMdd HH:mm:ss:SSS}: %c{1}.%M(%L): %m%n

Re: %L - Java source line number pattern format doesn't work

Posted By:   ankush_purwar  
Posted On:   Friday, February 10, 2006 07:52 PM

Put Location Info to True in your configuration file.
About | Sitemap | Contact