Changeset 16401 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2020-05-10T12:46:58+02:00 (4 years ago)
Author:
simon04
Message:

see #19208, see #18644 - JCS: remove workaround for useless JCS warnings (fixed upstream)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCacheManager.java

    r16398 r16401  
    7575                        Logging.error(msg);
    7676                    } else if (record.getLevel().intValue() >= Level.WARNING.intValue()) {
    77                         // Get rid of useless JCS warnings, see #18644
    78                         // Pending upstream patch: https://issues.apache.org/jira/projects/JCS/issues/JCS-200
    79                         // Pending upstream patch: https://issues.apache.org/jira/projects/JCS/issues/JCS-201
    80                         if ("No configuration settings found.  Using hardcoded default values for all pools.".equals(msg)
    81                                 || (msg.startsWith("Region") && msg.endsWith("Resetting cache"))) { // "Region [TMS_BLOCK_v2] Resetting cache"
    82                             Logging.debug(msg);
    83                         } else {
    84                             Logging.warn(msg);
    85                         }
     77                        Logging.warn(msg);
    8678                        // downgrade INFO level to debug, as JCS is too verbose at INFO level
    8779                    } else if (record.getLevel().intValue() >= Level.INFO.intValue()) {
Note: See TracChangeset for help on using the changeset viewer.