You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by sa...@namics.com on 2003/06/03 09:21:15 UTC

Conversion Character M

hi everybody,

i am trying to use the conversion character "M" for outputting the method 
name where the logging request was issued.
unfortunately all log4j wirtes to the logfile is ?... the conversion 
configuration is the following:

value="%d{dd.MM.yyyy HH:mm:ss} %r [%t] *%-5p %-17c{2} [%M] - %m%n"

the log-statements are all of the following:

02.06.2003 10:45:52 5508343 [HttpListener-1:Thread-3] *DEBUG 
persistence.AbstractDBMapper [?] - Method execute called... 

any ideas?

kind regards,
sandro