Thanks James.
James Perkins wrote:
Michael,
Both %M and %L should work in a pattern should work. There is no reason to use log4j, the JBoss Log Manager will recognize the format. This pattern "%d{HH:mm:ss,SSS} %-5p [%c.%M:%L] (%t) %s%E%n" works for me.
14:19:06,931 INFO [test.testConfig:71] (main) Test message should show up on the console.
The %E in the default pattern is for a Throwable. Meaning it will print the stacktrace if an exception is being logged.
--
James R. Perkins
Thx, James, ur explaination of "%E" gave me a big help.