logging tweak

This commit is contained in:
Robinson 2023-12-04 10:47:51 +01:00
parent cb7f8b2990
commit cdc056f3a1
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -151,8 +151,8 @@ internal class StreamingManager<CONNECTION : Connection>(private val logger: Log
}
streamingDataInMemory[streamId] = FileWriter(message.totalSize.toInt(), tempFileLocation)
} else {
if (endPoint.logger.isInfoEnabled) {
endPoint.logger.info("Saving streaming data [${streamId}] in memory")
if (endPoint.logger.isTraceEnabled) {
endPoint.logger.trace("Saving streaming data [${streamId}] in memory")
}
// .toInt is safe because we know the total size is < than maxStreamSizeInMemoryInBytes
streamingDataInMemory[streamId] = AeronWriter(message.totalSize.toInt())