SLF4J / SLF4J-570 [Open]
Feature-request: add a "warningsAsErrors" options. 

==============================

Here's what changed in this issue in the last few minutes.
This issue has been created
This issue is now assigned to you.

View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-570

==============================
 Issue created
------------------------------

Michael Bailey created this issue on 14/Oct/22 9:43 PM
Summary:              Feature-request: add a "warningsAsErrors" options. 
Issue Type:           Improvement
Affects Versions:     2.0.3
Assignee:             SLF4J developers list
Components:           Core API
Created:              14/Oct/22 9:43 PM
Labels:               configuration
Priority:             Minor
Reporter:             Michael Bailey
Description:
  {{Would like to have an API warningAsErrors(Boolean) AND system property 
`slf4j.warningsAsErrors=true` that turns this report into a failure (throws an 
exception)}}
  
   
  
   
  {noformat}
  SLF4J: Class path contains multiple SLF4J bindings.
  SLF4J: Found binding in 
[jar:file:/Users/me/.gradle/caches/modules-2/files-2.1/io.gitlab.arturbosch.detekt/detekt-formatting/1.21.0/b7e14d2040b8c6092227a0sdf223e9fc54a6/detekt-formatting-1.21.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  SLF4J: Found binding in 
[jar:file:/Users/me/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-nop/1.7.36/a3c1eb685d5sdf4527faa93cae311c184032/slf4j-nop-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
  SLF4J: Actual binding is of type [org.slf4j.helpers.NOPLoggerFactory]
  {noformat}
   
  
  the API should take precedence over the system property. 
  
   
  
  This would allows us to prevent merging of changes that cause issues with our 
SLF4J bindings. 
  
   
  
   


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)

_______________________________________________
slf4j-dev mailing list
slf4j-dev@qos.ch
https://mailman.qos.ch/cgi-bin/mailman/listinfo/slf4j-dev

Reply via email to