Changeset 11165 in josm


Ignore:
Timestamp:
2016-10-26T13:09:01+02:00 (8 years ago)
Author:
simon04
Message:

see #13318 - more concise logging output

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/ConvertToDataLayerAction.java

    r11089 r11165  
    3737import org.openstreetmap.josm.tools.GBC;
    3838import org.openstreetmap.josm.tools.ImageProvider;
    39 import org.openstreetmap.josm.tools.Logging;
    4039import org.openstreetmap.josm.tools.date.DateUtils;
    4140
     
    120119                    }
    121120                } else {
    122                     Logging.warn("Invalid gpx.to-osm-mapping Einstein setting: expecting even number of entries");
     121                    Main.warn("Invalid gpx.to-osm-mapping Einstein setting: expecting even number of entries");
    123122                }
    124123                ds.addPrimitive(node);
  • trunk/src/org/openstreetmap/josm/tools/Logging.java

    r10899 r11165  
    5555        LOGGER.setUseParentHandlers(false);
    5656
     57        // for a more concise logging output via java.util.logging.SimpleFormatter
     58        Utils.updateSystemProperty("java.util.logging.SimpleFormatter.format", "%1$tF %1$tT.%1$tL %4$s: %5$s%6$s%n");
     59
    5760        ConsoleHandler stderr = new ConsoleHandler();
    5861        LOGGER.addHandler(stderr);
Note: See TracChangeset for help on using the changeset viewer.