You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Frank-Olaf Lohmann DC <Lo...@hhla.de> on 2001/04/03 19:16:22 UTC

PaternLayout: allign to the left don't work as expected

Hello all,

the following format string '%-20.30c' don't work as I understand that it should. If the string is longer than 30 characters the last 30 chars are selected but I expect the first 30. 
Am I wrong? The javadoc says '... then truncated from the beginning.' this let some space to misunderstand what is intended.

Kind regards
Frank-Olaf Lohmann



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org