Commit ee953181 authored by Günther Niess's avatar Günther Niess Committed by niess

OF-53: Replace custom logging implementation with a third party library

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11490 b35dd754-fafc-0310-a699-88a17e54d16e
parent b59609cc
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
package org.jivesoftware.openfire.starter; package org.jivesoftware.openfire.starter;
import org.jivesoftware.util.Log; import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.*; import java.io.*;
import java.util.jar.Pack200; import java.util.jar.Pack200;
...@@ -49,6 +50,8 @@ import java.util.jar.JarOutputStream; ...@@ -49,6 +50,8 @@ import java.util.jar.JarOutputStream;
*/ */
public class ServerStarter { public class ServerStarter {
private static final Logger Log = LoggerFactory.getLogger(ServerStarter.class);
/** /**
* Default to this location if one has not been specified * Default to this location if one has not been specified
*/ */
...@@ -114,7 +117,7 @@ public class ServerStarter { ...@@ -114,7 +117,7 @@ public class ServerStarter {
containerClass.newInstance(); containerClass.newInstance();
} }
catch (Exception e) { catch (Exception e) {
e.printStackTrace(); Log.error(e.getMessage(), e);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment