Skip to content
Permalink
Browse files

minor fix related to LOGBACK-927

  • Loading branch information
ceki committed Nov 25, 2013
1 parent 066c8f8 commit e0f26e69f8caba3b4e7adb55e9d0507594ed87a2
Showing with 2 additions and 3 deletions.
  1. +2 −3 logback-access/src/main/java/ch/qos/logback/access/pattern/DateConverter.java
@@ -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

Please sign in to comment.
You can’t perform that action at this time.