Configure the log handler querier class for the log handler.

Since the querier class needs to correspond to the log handler class used by
the product, we want to keep the configuration for both in the same place -
in JVM startup options.

RELNOTES: None.
PiperOrigin-RevId: 211836452
diff --git a/src/main/cpp/startup_options.cc b/src/main/cpp/startup_options.cc
index 6a4ac38..05ec6de 100644
--- a/src/main/cpp/startup_options.cc
+++ b/src/main/cpp/startup_options.cc
@@ -554,6 +554,9 @@
     perror(("Couldn't write logging file " + propFile).c_str());
   } else {
     result->push_back("-Djava.util.logging.config.file=" + propFile);
+    result->push_back(
+        "-Dcom.google.devtools.build.lib.util.LogHandlerQuerier.class="
+        "com.google.devtools.build.lib.util.FileHandlerQuerier");
   }
 }