commit | 900de16a864d6b697d48c0d277e5c61ba667a7f5 | [log] [tgz] |
---|---|---|
author | pkommared <pkommared> | Tue Oct 14 15:58:37 2008 +0000 |
committer | pkommared <pkommared> | Tue Oct 14 15:58:37 2008 +0000 |
tree | eaf8de24f7261564b6a700099795dfd3073a2208 | |
parent | 16b59011fb52e5bdc09e9d3ae2aa92fdec6e5baf [diff] |
[249987 ]-{IBM HA&AC}-Trace file not closed properly
diff --git a/plugins/org.eclipse.actf.core/src/org/eclipse/actf/util/logging/LoggingUtil.java b/plugins/org.eclipse.actf.core/src/org/eclipse/actf/util/logging/LoggingUtil.java index 4f6ccaa..b63dd8f 100644 --- a/plugins/org.eclipse.actf.core/src/org/eclipse/actf/util/logging/LoggingUtil.java +++ b/plugins/org.eclipse.actf.core/src/org/eclipse/actf/util/logging/LoggingUtil.java
@@ -106,6 +106,13 @@ public static IReporter getTracer () { return _tracer; } + + //Closing the _tracer which is opened by setTracer. + public static void closeTracer() { + if(_tracer.isOpen()) { + _tracer.close(); + } + } /** * get the current trace level