Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace J-U-L with slf4j #10

Closed
wants to merge 4 commits into from
Closed

Conversation

IntelCan
Copy link

@IntelCan IntelCan commented Oct 31, 2017

Solution of issue #6

  • changes in mapping of level JUL - SLF4j:
    FINEST -> TRACE
    FINER -> DEBUG
    FINE -> DEBUG
    INFO -> INFO
    WARNING -> WARN
    SEVERE -> ERROR

  • Adding {} placeholder

  • remove JUL imports

@@ -229,8 +229,8 @@ public FileMetadata decrypt(InputStream ciphertext, OutputStream plaintext)
while (packets.hasNext()) {
Object packet = packets.next();

if (log.isLoggable(Level.FINEST))
log.finest("unpack " + packet.getClass());
if (log.isTraceEnabled())

Choose a reason for hiding this comment

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

It's not needed to check if log.isTraceEnabled() is true

@justinludwig
Copy link
Owner

Thanks for doing the work to convert to SLF4J, and creating a pull request for it! -- sorry I took so long to get it merged. I merged it in with this commit: 41f4b1d -- but managed to put the wrong PR number in the commit message.

justinludwig referenced this pull request Jan 24, 2018
to replace J-U-L with slf4j #6
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.

3 participants