148149150151152153154155156157158
return 1; } String[] selection = (String[]) opts.get("bundle"); if (selection != null) { setValidBundles(configuration, selection, level); configuration.commit(); } else { configuration.setFilter(level); } return 0; }
459460461462463464465466467468469
} } } // Update configuration only once if (optionFound) configuration.commit(); // Show current config if (!optionFound) { boolean isOn = configuration.getFile(); out.println(" file logging is " + (isOn ? "on" : "off") + "."); if (isOn) {