I'd like to define a conversion pattern that would take:

org.apache.log4j.package1.package2.package3.classname

and output

package1.package2.package3.classname

Using some pattern like %p{3}

Basically stripping off the leading 3 package names..

I see that the NameAbbreviator class is the right place to add this
capability, but was hoping someone (Curt?) could give me a quick pointer on
how to go about it (or is this already possible with an already-existing
NameAbbreviator implementation?)

Scott

Reply via email to