diff options
author | Jiri Vanek <[email protected]> | 2013-09-25 18:50:18 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-09-25 18:50:18 +0200 |
commit | 19e74fe5dacd03e0cb5582f840e15262e39fe24f (patch) | |
tree | 38ffc4f47f7641f8d20ba0e0e8a97a97ffb1db64 /netx/net/sourceforge/jnlp/util/HttpUtils.java | |
parent | fcd5c4c69fc5ea84b04f309eb40e295eab921fd8 (diff) |
Introduced logging bottleneck
Diffstat (limited to 'netx/net/sourceforge/jnlp/util/HttpUtils.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/util/HttpUtils.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/util/HttpUtils.java b/netx/net/sourceforge/jnlp/util/HttpUtils.java index 5bbfa69..9d69976 100644 --- a/netx/net/sourceforge/jnlp/util/HttpUtils.java +++ b/netx/net/sourceforge/jnlp/util/HttpUtils.java @@ -36,6 +36,7 @@ */ package net.sourceforge.jnlp.util; +import net.sourceforge.jnlp.util.logging.OutputController; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; @@ -50,7 +51,7 @@ public class HttpUtils { try { consumeAndCloseConnection(c); } catch (IOException ex) { - ex.printStackTrace(System.err); + OutputController.getLogger().log(OutputController.Level.ERROR_ALL, ex); } } |