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.
@@ -554,6 +554,9 @@ void StartupOptions::AddJVMLoggingArguments(std::vector<string> *result) const {
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");
}
}
