Ignore:
Timestamp:
2012-02-19T20:05:00+01:00 (13 years ago)
Author:
akks
Message:

fix routing and surveyor2 plugin error messages

Location:
applications/editors/josm/plugins
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java

    r27288 r27894  
    142142        datasetAdapter = new DataSetListenerAdapter(this);
    143143        plugin = this; // Assign reference to the plugin class
    144         DOMConfigurator.configure("log4j.xml");
     144        if (new java.io.File("log4j.xml").exists()) {
     145            DOMConfigurator.configure("log4j.xml");
     146        } else {
     147            System.err.println("Routing plugin warning: log4j configuration not found");
     148        }
    145149        logger.debug("Loading routing plugin...");
    146150        preferenceSettings=new RoutingPreferenceDialog();
Note: See TracChangeset for help on using the changeset viewer.