I've attached a small patch to PatternFormatter so that right justified 
fields are cropped on the left so that [%-20.20{context}] goes from:
        [org.apache.log.forma]
to
        [mat.PatternFormatter]

This seems intuitive and useful to me at least :-)

Stuart.

PatternFormatter.patch



-------------------------------------------------------------------------
Stuart Roebuck                                  [EMAIL PROTECTED]
Lead Developer                               Java, XML, MacOS X, XP, etc.
ADOLOS                                           <http://www.adolos.com/>

Reply via email to