Skip to content

Commit

Permalink
logging config issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuth committed Oct 2, 2024
1 parent 7c8d07b commit d91503e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/de/gmuth/ipp/core/IppMessage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class IppMessage() {
var keepDocumentCopy: Boolean = false
}

private val logger = getLogger(javaClass.name)
private val logger = getLogger(IppMessage::class.java.name)
var code: Int? = null // unsigned short (16 bits)
var requestId: Int? = null
var version: String? = null
Expand Down Expand Up @@ -169,7 +169,7 @@ abstract class IppMessage() {
documentInputStreamIsConsumed = true
if (keepDocumentCopy) {
documentBytes = byteArraySavingOutputStream.getSavedBytes()
if (documentBytes!!.isNotEmpty()) logger.fine("Keeping ${documentBytes!!.size} document bytes")
if (documentBytes!!.isNotEmpty()) logger.finer("Keeping ${documentBytes!!.size} document bytes")
}
byteArraySavingOutputStream.close()
}
Expand Down

0 comments on commit d91503e

Please sign in to comment.