aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net')
-rw-r--r--netx/net/sourceforge/jnlp/util/logging/LogConfig.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/util/logging/LogConfig.java b/netx/net/sourceforge/jnlp/util/logging/LogConfig.java
index 5e1644c..70db30c 100644
--- a/netx/net/sourceforge/jnlp/util/logging/LogConfig.java
+++ b/netx/net/sourceforge/jnlp/util/logging/LogConfig.java
@@ -98,6 +98,13 @@ public class LogConfig {
return logConfig;
}
+ /** For testing only: throw away the previous config */
+ static void resetLogConfig() {
+ if (logConfig != null) {
+ logConfig = new LogConfig();
+ }
+ }
+
public String getIcedteaLogDir() {
return icedteaLogDir;
}