logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank-Olaf Lohmann DC" <Lohm...@hhla.de>
Subject PaternLayout: allign to the left don't work as expected
Date Tue, 03 Apr 2001 17:16:22 GMT
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


Mime
View raw message