diff --git a/lib/constants.js b/lib/constants.js index c19442e89..5d609c4b7 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -28,8 +28,8 @@ exports.LOG_PRIORITIES = [ ] // Default patterns for the pattern layout. -exports.COLOR_PATTERN = '%[%d{DATE}:%p [%c]: %]%m' -exports.NO_COLOR_PATTERN = '%d{DATE}:%p [%c]: %m' +exports.COLOR_PATTERN = '%[%d{DATETIME}:%p [%c]: %]%m' +exports.NO_COLOR_PATTERN = '%d{DATETIME}:%p [%c]: %m' // Default console appender exports.CONSOLE_APPENDER = {