Skip to content

ZCU-PUB/Reduce ClarinItemServiceImpl approximate date log from WARN to DEBUG#1285

Merged
milanmajchrak merged 1 commit intocustomer/zcu-pubfrom
propagate/reduce-logs-zcu-pub
Mar 17, 2026
Merged

ZCU-PUB/Reduce ClarinItemServiceImpl approximate date log from WARN to DEBUG#1285
milanmajchrak merged 1 commit intocustomer/zcu-pubfrom
propagate/reduce-logs-zcu-pub

Conversation

@milanmajchrak
Copy link
Collaborator

Problem description

Changed 'Cannot update item dates metadata because the approximate date is empty' from WARN to DEBUG level to reduce log noise.

Analysis

(Write here, if there is needed describe some specific problem. Erase it, when it is not needed.)

Problems

(Write here, if some unexpected problems occur during solving issues. Erase it, when it is not needed.)

Manual Testing (if applicable)

Copilot review

  • Requested review from Copilot

Changed 'Cannot update item dates metadata because the approximate date
is empty' from WARN to DEBUG level to reduce log noise.
Copilot AI review requested due to automatic review settings March 17, 2026 16:36
@milanmajchrak milanmajchrak merged commit 105b14f into customer/zcu-pub Mar 17, 2026
7 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reduces log noise in the CLARIN item metadata update flow by downgrading a message that occurs when an item has no approximate issued date configured.

Changes:

  • Change the log level from warn to debug when local.approximateDate.issued is missing/blank during updateItemDatesMetadata.

You can also share your feedback on Copilot code review. Take the survey.

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.

2 participants