I can get -close- to what I want using EnhancedPatternLayout..
With this logger:
package1.package2.package3.package4.package5.classname
and this layout:
Layout patternLayout = new EnhancedPatternLayout("%logger{\0.\0.\0.*} -
%m\n");
I get this output:
...package4.package5.classname - message here
Notice the dots at the beginning of the output..
If we left off leading dots, this would work..it should probably be better
documented..
Anyone mind if I make this change or have other suggestions?
Scott