aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/util/logging/LogConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net/sourceforge/jnlp/util/logging/LogConfig.java')
-rw-r--r--netx/net/sourceforge/jnlp/util/logging/LogConfig.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/netx/net/sourceforge/jnlp/util/logging/LogConfig.java b/netx/net/sourceforge/jnlp/util/logging/LogConfig.java
index 2c98cd2..72941f3 100644
--- a/netx/net/sourceforge/jnlp/util/logging/LogConfig.java
+++ b/netx/net/sourceforge/jnlp/util/logging/LogConfig.java
@@ -55,12 +55,13 @@ public class LogConfig {
private boolean logToFile;
private boolean logToStreams;
private boolean logToSysLog;
+ private DeploymentConfiguration config;
private static LogConfig logConfig;
public LogConfig() {
try {
- DeploymentConfiguration config = JNLPRuntime.getConfiguration();
+ config = JNLPRuntime.getConfiguration();
if (config.getRaw().isEmpty()){
config = new DeploymentConfiguration();//JNLPRuntime.getConfiguration() cannotbe loaded time
config.load(); //read one prior
@@ -161,7 +162,11 @@ public class LogConfig {
return JavaConsole.isEnabled();
}
-
-
+ /*
+ * logging stuff may be interested in used config
+ */
+ public DeploymentConfiguration getConfig() {
+ return config;
+ }
}