log4j- writing method names- use capital M and not small m

capitalization makes all the difference, you will still need small m though.

Amplify’d from www.theserverside.com
Thanks friend.

As you indicated, the %M pattern as indicated in the log4j manual works out.

Thanks for your help.

The point that i observed is that,

%m -message
%M – method name
%c- category
%C- Class name

Read more at www.theserverside.com