Make oitb actually log TB output (#415)

This commit is contained in:
Jon Haslam 2023-11-20 13:24:28 +00:00 committed by GitHub
parent 8e8db376d8
commit 08311d2bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <gflags/gflags.h>
#include <glog/logging.h> #include <glog/logging.h>
#include <boost/archive/text_iarchive.hpp> #include <boost/archive/text_iarchive.hpp>
@ -145,6 +146,7 @@ int main(int argc, char* argv[]) {
google::LogToStderr(); google::LogToStderr();
google::SetStderrLogging(google::INFO); google::SetStderrLogging(google::INFO);
google::SetVLOGLevel("TreeBuilder", 3); google::SetVLOGLevel("TreeBuilder", 3);
gflags::SetCommandLineOption("minloglevel", "0");
/* Reflects `oid`'s defaults for TreeBuilder::Config */ /* Reflects `oid`'s defaults for TreeBuilder::Config */
TreeBuilder::Config tbConfig{ TreeBuilder::Config tbConfig{