From d75e4730d807a199e285bc94db2ca95c252ee177 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Thu, 1 Feb 2024 10:04:00 -0800 Subject: [PATCH] Reduce noise of some logging output. --- common/formatting/layout_optimizer.cc | 2 +- common/util/BUILD | 1 + verilog/analysis/verilog_project.cc | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/formatting/layout_optimizer.cc b/common/formatting/layout_optimizer.cc index 21408cb67..2bad61561 100644 --- a/common/formatting/layout_optimizer.cc +++ b/common/formatting/layout_optimizer.cc @@ -567,7 +567,7 @@ LayoutFunction TokenPartitionsLayoutOptimizer::CalculateOptimalLayout( for (const auto& child : iterator_range(node.Children().begin() + 2, node.Children().end())) { if (child.Value().IndentationSpaces() != indentation) { - VLOG(0) << "Indentations of subpartitions from the second to the " + VLOG(1) << "Indentations of subpartitions from the second to the " "last are not equal. Using indentation of the second " "subpartition as a hanging indentation. Parent node:\n" << node; diff --git a/common/util/BUILD b/common/util/BUILD index 230d9935b..de819a6b1 100644 --- a/common/util/BUILD +++ b/common/util/BUILD @@ -110,6 +110,7 @@ cc_library( "@com_google_absl//absl/flags:parse", # buildcleaner: keep "@com_google_absl//absl/flags:usage", # buildcleaner: keep "@com_google_absl//absl/log:globals", + "@com_google_absl//absl/base:log_severity", "@com_google_absl//absl/log:initialize", # buildcleaner: keep "@com_google_absl//absl/strings", "@com_google_absl//absl/time", # buildcleaner: keep diff --git a/verilog/analysis/verilog_project.cc b/verilog/analysis/verilog_project.cc index 9c0616929..877f97000 100644 --- a/verilog/analysis/verilog_project.cc +++ b/verilog/analysis/verilog_project.cc @@ -83,7 +83,7 @@ absl::Status VerilogSourceFile::Parse() { if (analyze_time > absl::Milliseconds(500)) { LOG(WARNING) << "Slow Parse " << ResolvedPath() << " took " << analyze_time; } else { - VLOG(1) << "Parse " << ResolvedPath() << " in " << analyze_time; + VLOG(2) << "Parse " << ResolvedPath() << " in " << analyze_time; } processing_state_ = ProcessingState::kParsed;