Skip to content

Commit

Permalink
Merge pull request #2093 from hzeller/20240201-reduce-log-noise
Browse files Browse the repository at this point in the history
Reduce noise of some logging output.
  • Loading branch information
hzeller authored Feb 1, 2024
2 parents 4bff433 + d75e473 commit 2d84159
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/formatting/layout_optimizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions common/util/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion verilog/analysis/verilog_project.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2d84159

Please sign in to comment.