Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VIVO-1997] Log blank node deletion messages at DEBUG instead of WARN #238

Merged
merged 2 commits into from
Jun 9, 2021

Conversation

brianjlowe
Copy link
Member

https://jira.lyrasis.org/browse/VIVO-1997:

As part of the new "every-time" update of "first time" content, single-triple deletions with blank nodes occur and are innocuous. This pull request logs warnings related to this type of deletion at DEBUG so as not to litter the log with ominous-looking warnings during each startup with default settings.

How should this be tested?

Start Tomcat. Log should not show warnings related to blank node deletion.

Interested parties

@VIVO-project/vivo-committers

log.warn("Deleting single triple with blank node: " + blankNodeModel);
log.warn("This likely indicates a problem; excessive data may be deleted.");
log.debug("Deleting single triple with blank node: " + blankNodeModel);
log.debug("This likely indicates a problem; excessive data may be deleted.");
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
log.debug("This likely indicates a problem; excessive data may be deleted.");
log.debug("This may indicate a problem; excessive data may be deleted.");

Remove some of the doom and gloom if the warning is most likely to be triggered by normal operation.

@gneissone gneissone merged commit 1720272 into vivo-project:rel-1.12.0-RC Jun 9, 2021
ghost pushed a commit that referenced this pull request Feb 23, 2023
…#238)

* Log blank node deletion messages at debug level instead of warn.

* Switch to more informative debug message about blank node deletion.
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