-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add ClpIrFileAppender, AbstractBufferedRollingFileAppender, and…
… AbstractClpIrBufferedRollingFileAppender. (#8) Co-authored-by: phalani <[email protected]> Co-authored-by: Kirk Rodrigues <[email protected]>
- Loading branch information
1 parent
2e61c59
commit 8304621
Showing
12 changed files
with
1,883 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<FindBugsFilter> | ||
<Match> | ||
<Bug category="BAD_PRACTICE" code="CT" value="CT_CONSTRUCTOR_THROW" /> | ||
<Class name="com.yscope.logging.log4j2.AbstractBufferedRollingFileAppender" /> | ||
<Justification>Log4j2 should throw immediately if configurations are wrong.</Justification> | ||
</Match> | ||
|
||
<Match> | ||
<Bug category="BAD_PRACTICE" code="CT" value="CT_CONSTRUCTOR_THROW" /> | ||
<Class name="com.yscope.logging.log4j2.ClpIrFileAppender" /> | ||
<Justification>Log4j2 should throw immediately if configurations are wrong.</Justification> | ||
</Match> | ||
|
||
<Match> | ||
<Bug category="BAD_PRACTICE" code="CT" value="CT_CONSTRUCTOR_THROW" /> | ||
<Class name="com.yscope.logging.log4j2.CompressionPatternLayoutContainer" /> | ||
<Justification>Log4j2 should throw immediately if configurations are wrong.</Justification> | ||
</Match> | ||
|
||
<Match> | ||
<Bug category="MALICIOUS_CODE" code="EI" value="EI_EXPOSE_REP" /> | ||
<Class name="com.yscope.logging.log4j2.PatternLayoutBufferDestination" /> | ||
<Justification>False positive: Simply returning the buffer. No security check required.</Justification> | ||
</Match> | ||
|
||
<Match> | ||
<Bug category="PERFORMANCE" code="UrF" value="URF_UNREAD_FIELD" /> | ||
<Class name="com.yscope.logging.log4j2.AbstractBufferedRollingFileAppender$Builder" /> | ||
<Justification>False positive: Log4j2 plugin attributes.</Justification> | ||
</Match> | ||
|
||
<Match> | ||
<Bug category="PERFORMANCE" code="UrF" value="URF_UNREAD_FIELD" /> | ||
<Class name="com.yscope.logging.log4j2.AbstractClpIrBufferedRollingFileAppender$Builder" /> | ||
<Justification>False positive: Log4j2 plugin attributes.</Justification> | ||
</Match> | ||
|
||
<Match> | ||
<Bug category="PERFORMANCE" code="UrF" value="URF_UNREAD_FIELD" /> | ||
<Class name="com.yscope.logging.log4j2.ClpIrFileAppender$Builder" /> | ||
<Justification>False positive: Log4j2 plugin attributes.</Justification> | ||
</Match> | ||
|
||
<Match> | ||
<Bug category="MT_CORRECTNESS" code="IS" value="IS2_INCONSISTENT_SYNC" /> | ||
<Class name="com.yscope.logging.log4j2.AbstractBufferedRollingFileAppender" /> | ||
<Justification>Custom synchronization is for shutdown after all user threads.</Justification> | ||
</Match> | ||
</FindBugsFilter> |
Oops, something went wrong.