- // weirdly, the start method is called twice...
- // TODO check if it is still the case.
- if (plugin == null) {
- plugin = this;
- messages = ResourceBundle.getBundle(ID + ".messages");
- Platform.addLogListener(this);
- log.debug("Eclipse logging now directed to standard logging");
- } else
- log.warn("Trying to start an already started plugin.");
+ plugin = this;
+ messages = ResourceBundle.getBundle(ID + ".messages");
+ Platform.addLogListener(this);
+ if (log.isTraceEnabled())
+ log.trace("Eclipse logging now directed to standard logging");