logging tweak
This commit is contained in:
parent
cb7f8b2990
commit
cdc056f3a1
@ -151,8 +151,8 @@ internal class StreamingManager<CONNECTION : Connection>(private val logger: Log
|
|||||||
}
|
}
|
||||||
streamingDataInMemory[streamId] = FileWriter(message.totalSize.toInt(), tempFileLocation)
|
streamingDataInMemory[streamId] = FileWriter(message.totalSize.toInt(), tempFileLocation)
|
||||||
} else {
|
} else {
|
||||||
if (endPoint.logger.isInfoEnabled) {
|
if (endPoint.logger.isTraceEnabled) {
|
||||||
endPoint.logger.info("Saving streaming data [${streamId}] in memory")
|
endPoint.logger.trace("Saving streaming data [${streamId}] in memory")
|
||||||
}
|
}
|
||||||
// .toInt is safe because we know the total size is < than maxStreamSizeInMemoryInBytes
|
// .toInt is safe because we know the total size is < than maxStreamSizeInMemoryInBytes
|
||||||
streamingDataInMemory[streamId] = AeronWriter(message.totalSize.toInt())
|
streamingDataInMemory[streamId] = AeronWriter(message.totalSize.toInt())
|
||||||
|
Loading…
Reference in New Issue
Block a user