// TODO populate the equinox-debug.properties file with the one provided in shell/dev module
} else {
properties.remove("felix.log.level");
properties.remove("osgi.debug");
}
properties.save();
}
public void restart(boolean clean) throws Exception {
System.setProperty("karaf.restart", "true");
System.setProperty("karaf.restart.clean", Boolean.toString(clean));