Am 2014-06-17 23:38, schrieb Ceki Gülcü:
Hello everyone,
At present time, %d{ISO8601} is equivalent to writing
%d{"yyyy-MM-dd HH:mm:ss,SSS"}. However, to match the ISO8601
standard the output should be that of %d{"yyyy-MM-dd'T'HH:mm:ss,SSS"}.
Note the 'T' in the middle.
On the other hand, there is also a necessity to maintain backward
compatibility for log parsers that rely on the current albeit incorrect
format.
That argument does count "maintain backward compatibility" because
Logback broke it already several times in a patch version:
1.1.2: Removed deprecated constructors in SocketAppender and related
classes.
1.0.7: Groovy and Janino upgrade
1.0.2: By default PatternLayout will now output its pattern at the top
of log files
and so forth, so it is a lousy argument.
Michael
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev