Permalink
Browse files
minor fix related to LOGBACK-927
- Loading branch information
|
@@ -41,9 +41,8 @@ public void start() { |
|
|
cachingDateFormatter = new CachingDateFormatter(datePattern); |
|
|
//maximumCacheValidity = CachedDateFormat.getMaximumCacheValidity(pattern); |
|
|
} catch (IllegalArgumentException e) { |
|
|
addWarn( |
|
|
"Could not instantiate SimpleDateFormat with pattern " + datePattern, e); |
|
|
// default to the ISO8601 format |
|
|
addWarn("Could not instantiate SimpleDateFormat with pattern " + datePattern, e); |
|
|
addWarn("Defaulting to " + CoreConstants.CLF_DATE_PATTERN); |
|
|
cachingDateFormatter = new CachingDateFormatter(CoreConstants.CLF_DATE_PATTERN); |
|
|
} |
|
|
|
|
|
0 comments on commit
e0f26e6