summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/satellitedaemon/App.java
diff options
context:
space:
mode:
authorMichael Petretti2014-06-11 13:36:06 +0200
committerMichael Petretti2014-06-11 13:36:06 +0200
commit3ce1e77a76992a1c3011fcb663ebec040c2e5dca (patch)
tree21bc76288e768b3411dcd0c6ad4a696ebc2626ea /src/main/java/org/openslx/satellitedaemon/App.java
parentAdded log messages. (diff)
downloadsatellite-daemon-3ce1e77a76992a1c3011fcb663ebec040c2e5dca.tar.gz
satellite-daemon-3ce1e77a76992a1c3011fcb663ebec040c2e5dca.tar.xz
satellite-daemon-3ce1e77a76992a1c3011fcb663ebec040c2e5dca.zip
Narrowed the problem down to ThriftConnection class line 127 throwing a TTransportException.
Diffstat (limited to 'src/main/java/org/openslx/satellitedaemon/App.java')
-rw-r--r--src/main/java/org/openslx/satellitedaemon/App.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/satellitedaemon/App.java b/src/main/java/org/openslx/satellitedaemon/App.java
index c5bad11..30382db 100644
--- a/src/main/java/org/openslx/satellitedaemon/App.java
+++ b/src/main/java/org/openslx/satellitedaemon/App.java
@@ -9,6 +9,7 @@ import java.security.SignatureException;
import java.security.UnrecoverableKeyException;
import java.security.cert.CertificateException;
+import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.Logger;
import org.openslx.imagemaster.thrift.iface.ServerAuthenticationException;
import org.openslx.satellitedaemon.ftp.FtpUploadWorker;
@@ -25,6 +26,7 @@ public class App
throws NoSuchAlgorithmException, KeyStoreException, CertificateException, FileNotFoundException, IOException, ServerAuthenticationException, UnrecoverableKeyException,
InvalidKeyException, SignatureException
{
+ BasicConfigurator.configure();
try {
Globals.loadProperties();
if ( !Globals.propertiesValid() ) {