Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Change safe logging checks severity to WARNING
  • Loading branch information
pkoenig10 committed Jul 18, 2019
commit eed4613138e2e0c9484f0eefde16a8586c5b1df8
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
name = "PreferSafeLoggableExceptions",
link = "https://github.com/palantir/gradle-baseline#baseline-error-prone-checks",
linkType = BugPattern.LinkType.CUSTOM,
severity = BugPattern.SeverityLevel.SUGGESTION,
severity = BugPattern.SeverityLevel.WARNING,
summary = "Throw SafeLoggable exceptions to ensure the exception message will not be redacted")
public final class PreferSafeLoggableExceptions extends BugChecker implements BugChecker.NewClassTreeMatcher {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
name = "PreferSafeLoggingPreconditions",
link = "https://github.com/palantir/gradle-baseline#baseline-error-prone-checks",
linkType = BugPattern.LinkType.CUSTOM,
severity = BugPattern.SeverityLevel.SUGGESTION,
severity = BugPattern.SeverityLevel.WARNING,
summary = "Precondition and similar checks with a constant message and no parameters should use equivalent "
+ "checks from com.palantir.logsafe.Preconditions for standardization as functionality is the same.")
public final class PreferSafeLoggingPreconditions extends BugChecker implements BugChecker.MethodInvocationTreeMatcher {
Expand Down