mirror of
https://github.com/corda/corda.git
synced 2025-06-16 06:08:13 +00:00
ENT-2695 Restore async logging (#4195)
* Replace error code generation technique with custom event re-writer. Switch to RandomAccessFile appenders because they supposedly give higher throughput. * Review feedback
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
log4jContextSelector=net.corda.node.utilities.logging.AsyncLoggerContextSelectorNoThreadLocal
|
||||
Log4jContextSelector=net.corda.node.utilities.logging.AsyncLoggerContextSelectorNoThreadLocal
|
||||
AsyncLogger.RingBufferSize=262144
|
@ -0,0 +1,12 @@
|
||||
package net.corda.node.utilities.logging
|
||||
|
||||
import org.junit.Test
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
|
||||
class AsyncLoggingTest {
|
||||
@Test
|
||||
fun `async logging is configured`() {
|
||||
assertTrue(AsyncLoggerContextSelectorNoThreadLocal.isSelected())
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user