Suppress the loggers as soon as possible release74
authorJan Lahoda <jlahoda@netbeans.org>
Thu, 19 Dec 2013 15:43:00 +0100
branchrelease74
changeset 985fb9da7d66c9f
parent 984 a0a13042fad8
Suppress the loggers as soon as possible
cmdline/tool/src/org/netbeans/modules/jackpot30/cmdline/Main.java
     1.1 --- a/cmdline/tool/src/org/netbeans/modules/jackpot30/cmdline/Main.java	Thu Dec 19 12:57:23 2013 +0100
     1.2 +++ b/cmdline/tool/src/org/netbeans/modules/jackpot30/cmdline/Main.java	Thu Dec 19 15:43:00 2013 +0100
     1.3 @@ -169,6 +169,10 @@
     1.4              return 1;
     1.5          }
     1.6  
     1.7 +        if (!parsed.has("debug")) {
     1.8 +            prepareLoggers();
     1.9 +        }
    1.10 +
    1.11          if (parsed.has("help")) {
    1.12              parser.printHelpOn(System.out);
    1.13              return 0;
    1.14 @@ -220,10 +224,6 @@
    1.15              }
    1.16          }
    1.17  
    1.18 -        if (!parsed.has("debug")) {
    1.19 -            prepareLoggers();
    1.20 -        }
    1.21 -
    1.22          File cacheDir = parsed.valueOf(cache);
    1.23          boolean deleteCacheDir = false;
    1.24