Re: [PATCH] formatting weakness in Class PatternConverter

2001-04-11 Thread Ceki Gülcü
This is not a bug. Here is what the PatternLayout documentation says: This behavior can be changed using the maximum field width modifier which is designated by a period followed by a decimal constant. If the data item is longer than the maximum field, then the extra characters are removed fro

[PATCH] formatting weakness in Class PatternConverter

2001-04-05 Thread Frank-Olaf Lohmann DC
Hello all, following is a patch that corrects the formatting behaviour of the '-' switch if the string is longer than the maximum field length. Current behaviour is the rightmost characters are displayed, as without the '-' switch. Expected behaviour is the leftmost character are displayed. ---