Skip to content

Commit

Permalink
Merge pull request #123 from melissalinkert/fix-logging-config
Browse files Browse the repository at this point in the history
Move logging configuration to beginning of call() method
  • Loading branch information
chris-allan authored Jan 15, 2024
2 parents 9e6bf4d + 665e0a8 commit a5ba8ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,8 @@ public IProgressListener getProgressListener() {

@Override
public Void call() throws Exception {
setupLogger();

if (printVersion) {
printVersion();
return null;
Expand All @@ -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");
Expand Down

0 comments on commit a5ba8ee

Please sign in to comment.