aboutsummaryrefslogtreecommitdiff
path: root/common/src/main
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-04-02 09:31:18 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-04-02 09:31:18 +0200
commit5e50fb49f048cbd0a6bafb1f097d08dd8cad8320 (patch)
tree4906d58a1003aeedc5e6848be247942e53894321 /common/src/main
parent49dec667de27b30c353e2312b16719453d0cf1b9 (diff)
downloadmoa-id-spss-5e50fb49f048cbd0a6bafb1f097d08dd8cad8320.tar.gz
moa-id-spss-5e50fb49f048cbd0a6bafb1f097d08dd8cad8320.tar.bz2
moa-id-spss-5e50fb49f048cbd0a6bafb1f097d08dd8cad8320.zip
solve logging problems with Tomcat 8
Diffstat (limited to 'common/src/main')
-rw-r--r--common/src/main/java/at/gv/egovernment/moa/util/MiscUtil.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/src/main/java/at/gv/egovernment/moa/util/MiscUtil.java b/common/src/main/java/at/gv/egovernment/moa/util/MiscUtil.java
index c2f2c9f47..246b0eb31 100644
--- a/common/src/main/java/at/gv/egovernment/moa/util/MiscUtil.java
+++ b/common/src/main/java/at/gv/egovernment/moa/util/MiscUtil.java
@@ -53,6 +53,7 @@ import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
+import at.gv.egovernment.moa.logging.Logger;
import at.gv.egovernment.moa.util.ex.EgovUtilException;
@@ -67,8 +68,6 @@ public class MiscUtil {
public static final String DEFAULT_SLASH = "/";
- public static Log log = LogFactory.getLog(MiscUtil.class);
-
private static final int IO_BUFFER_SIZE = 4 * 1024;
public static void copyStream(InputStream is, OutputStream os) throws IOException {
@@ -303,7 +302,7 @@ public class MiscUtil {
try {
return sdf.parse(dateString);
} catch (ParseException e) {
- log.warn(null, "Error parsing date.", e);
+ Logger.warn("Error parsing date.", e);
return null;
}
}