243244245246247248249250251252253
if (h == null) { return; } TopicalLogger l = (TopicalLogger) mf.getLogger(loggerName); try { l.removeHandler(h); } catch (Exception e) { throw new RemoteException(e.getMessage()); } }
200201202203204205206207208209210
if (h == null) { return; } TopicalLogger l = (TopicalLogger) mf.getLogger(loggerName); try { l.removeHandler(h); } catch (Exception e) { return; } }
361362363364365366367368369370371
hc.setAttribute(Handler.PATTERN_ATTRIBUTE, "%m%n"); hc.setAttribute("activation", lf); try { l.addHandler(hc); for (int i = 0; i < hcs.length; i++) { l.removeHandler(hcs[i]); } } catch (Exception e) { fail("error" + e.getMessage()); }