mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Violette Roche-Montane
11.02.2014 3d1e1084d835a01bf34d1dfd6e235ea8817c4377
OPENDJ-1372 Part II rebuild-index tool don't log anything (on stdout or stderr)
- Enabled JDKLogging on RebuildIndex.java
1 files modified
3 ■■■■ changed files
opendj3-server-dev/src/server/org/opends/server/tools/RebuildIndex.java 3 ●●●● patch | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/tools/RebuildIndex.java
@@ -69,6 +69,7 @@
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
/**
 * This program provides a utility to rebuild the contents of the indexes of a
@@ -144,7 +145,7 @@
  {
    final PrintStream out = NullOutputStream.wrapOrNullStream(outStream);
    final PrintStream err = NullOutputStream.wrapOrNullStream(errStream);
    JDKLogging.disableLogging();
    JDKLogging.enableConsoleLoggingForOpenDJ(Level.FINE);
    // Initialize all the command-line argument types and register them with the
    // parser.