Reduce ERROR notifications for certain "normal" metadata scenarios (i.e. 404) #4471
Open
2 tasks done
Labels
enhancement
New feature or request
Current Behavior
I noticed that every non 2xx http response code triggers an
ERROR
notification to be raised for metadata analysis:dependency-track/src/main/java/org/dependencytrack/tasks/repositories/AbstractMetaAnalyzer.java
Lines 78 to 89 in 45982a2
Proposed Behavior
I propose to make this less noisy. The logging is already on
DEBUG
level, maybe the notification should be onDEBUG
as well. At least for404
which can be quite normal, at least for the Composer Package Repository (#4470)Maybe other
4xx
and5xx
errors could/should triggerWARN
orERROR
.Checklist
The text was updated successfully, but these errors were encountered: