Changeset 11169 in josm for trunk


Ignore:
Timestamp:
2016-10-26T18:49:35+02:00 (3 years ago)
Author:
simon04
Message:

JCS: get rid of verbose logging on Windows

File:
1 edited

Legend:

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

    r10965 r11169  
    66import java.io.IOException;
    77import java.nio.channels.FileLock;
     8import java.util.Arrays;
    89import java.util.Properties;
    910import java.util.logging.Handler;
     
    8283        jcsLog.setUseParentHandlers(false);
    8384        // we need a separate handler from Main's, as we downgrade LEVEL.INFO to DEBUG level
     85        Arrays.stream(jcsLog.getHandlers()).forEach(jcsLog::removeHandler);
    8486        jcsLog.addHandler(new Handler() {
    8587            final SimpleFormatter formatter = new SimpleFormatter();
Note: See TracChangeset for help on using the changeset viewer.