projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: cleanup JUL agent state on sessiond disconnect
[lttng-ust.git]
/
liblttng-ust-jul
/
org
/
lttng
/
ust
/
jul
/
LTTngLogHandler.java
diff --git
a/liblttng-ust-jul/org/lttng/ust/jul/LTTngLogHandler.java
b/liblttng-ust-jul/org/lttng/ust/jul/LTTngLogHandler.java
index b4e1c088423a5a2e68f491b07ff9c24c528c97f7..ddeb5eb3b36e9e04cba608cbd0a17539a948c265 100644
(file)
--- a/
liblttng-ust-jul/org/lttng/ust/jul/LTTngLogHandler.java
+++ b/
liblttng-ust-jul/org/lttng/ust/jul/LTTngLogHandler.java
@@
-83,6
+83,14
@@
public class LTTngLogHandler extends Handler {
}
}
+ /*
+ * Cleanup this handler state meaning put it back to a vanilla state.
+ */
+ public void clear() {
+ this.eventMap.clear();
+ this.logLevelsAll.clear();
+ }
+
@Override
public void close() throws SecurityException {}
This page took
0.023963 seconds
and
4
git commands to generate.