diff --git a/src/main/java/com/glencoesoftware/pyramid/PyramidFromDirectoryWriter.java b/src/main/java/com/glencoesoftware/pyramid/PyramidFromDirectoryWriter.java index e44d7b4..42eb489 100755 --- a/src/main/java/com/glencoesoftware/pyramid/PyramidFromDirectoryWriter.java +++ b/src/main/java/com/glencoesoftware/pyramid/PyramidFromDirectoryWriter.java @@ -486,6 +486,8 @@ public IProgressListener getProgressListener() { @Override public Void call() throws Exception { + setupLogger(); + if (printVersion) { printVersion(); return null; @@ -504,8 +506,6 @@ public Void call() throws Exception { // Resolve symlinks inputDirectory = inputDirectory.toRealPath(); - setupLogger(); - // we could support this case later, just keeping it simple for now if (splitBySeries && legacy) { throw new IllegalArgumentException("--split not supported with --legacy");