Skip to content

Only reiterate failure to create metadata for each node if log level is debug or finer#131

Merged
TimHeldmann merged 4 commits intotudasc:develfrom
TimHeldmann:feat/reduceWarningSpam
Apr 17, 2026
Merged

Only reiterate failure to create metadata for each node if log level is debug or finer#131
TimHeldmann merged 4 commits intotudasc:develfrom
TimHeldmann:feat/reduceWarningSpam

Conversation

@TimHeldmann
Copy link
Copy Markdown
Member

When looking in the logs of our container build, I found that

  1. After logging that we can not create "SomeMetadata", we additionally log that we can not create "SomeMetadata" for each node it was attached to. While I see how this could be helpful for debugging failure to create Metadata on certain nodes, I propose to limit the logging per node to debug or trace logging granularity

  2. We did not log this failure for edge-based metadata, only for node and global metadata. I unified this behavior.

@TimHeldmann
Copy link
Copy Markdown
Member Author

In this PR I currently query the loglevel directly via spdlog's interface.
Do we want to have wrapper around that, similar to the console wrappers?

@TimHeldmann TimHeldmann force-pushed the feat/reduceWarningSpam branch from d39c40a to 1401baf Compare March 11, 2026 14:03
Comment thread graph/src/io/VersionFourMCGReader.cpp Outdated
@TimHeldmann TimHeldmann requested a review from jplehr March 13, 2026 09:36
Copy link
Copy Markdown
Member

@jplehr jplehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about changing commit title to something like this:

[Graph] Emit create-MD error per node/edge in debug-level

Can you give it one more git-clang-format just to be sure? Thanks!

@TimHeldmann TimHeldmann force-pushed the feat/reduceWarningSpam branch from d3db4d6 to d8fa2bb Compare April 17, 2026 08:43
@TimHeldmann TimHeldmann merged commit f556b70 into tudasc:devel Apr 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants