--
You received this message because you are subscribed to the Google Groups "Chronicle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-chronicle+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Chronicle Queue on which it is based is not entirely garbage free. It is designed to be very low garbage or much less than 1 byte per message.
Most of the garbage in Chronicle Logger comes from the API itself so we can't avoid it.
log4j2 which a rewrite of log4j has a mode of use which is low garbage however it is an asynchronous logger so data can be lost if the application crashes. Usually the last thing you did before a crash is the most important thing to log.
As such Chronicle Logger isn't asynchronous though it performs similarly.
Note: the most expensive operation you can do when logging is to include a class+line in the output. This involves taking an entire stack trace. If you do this, your choice of logger hardly matters.
Regards, Peter.
--
--
You received this message because you are subscribed to a topic in the Google Groups "Chronicle" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/java-chronicle/fEXx0JZNb20/unsubscribe.
To unsubscribe from this group and all its topics, send an email to java-chronicle+unsubscribe@googlegroups.com.
I suggest you use Chronicle Queue v4 if you are going to use the queues directly. We don't provide free support for the older V3.
You can use appender.writeText(charSequence) and later dump () the queue to view it.
Peter.
It's still V3. The artifact you are looking for is chronicle-queue. Version 4.5.x
Note that writeText can take a recycled StringBuilder or a Bytes.