Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-beta2
-
None
-
Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500)
Maven home: C:\Java\apache-maven-3.0.4\bin\..
Java version: 1.6.0_35, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_35\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_35, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_35\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Description
This pattern:
<PatternLayout pattern="%highlight{%d{dd MMM yyyy HH:mm:ss,SSS}{GMT+0} [%t] %-5level: %msg%n%throwable}" />
Incorrectly outputs:
02 Nov 2012 16:51:14,907{GMT+0 [main] FATAL: Fatal message. }02 Nov 2012 16:51:14,910{GMT+0 [main] ERROR: Error message. }02 Nov 2012 16:51:14,914{GMT+0 [main] WARN : Warning message. }02 Nov 2012 16:51:14,917{GMT+0 [main] INFO : Information message. }02 Nov 2012 16:51:14,920{GMT+0 [main] DEBUG: Debug message. }02 Nov 2012 16:51:14,924{GMT+0 [main] TRACE: Trace message. }02 Nov 2012 16:51:14,929{GMT+0 [main] ERROR: Error message.