From 020038f76d5685567afc38e89d4cb1349e8634ca Mon Sep 17 00:00:00 2001 From: "tomasz.kowalczewski" Date: Sun, 28 Mar 2021 00:16:22 +0100 Subject: [PATCH] Added note about allocations in Logback. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 5c00d3c..ca5a668 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,9 @@ is implemented in the `core` component. On top of that we built appenders for `l 1. We also provide a no-dependency versions of these appenders. 1. Includes in-house implementation of protobuf wire format for Loki to reduce dependencies and improve performance. +These points apply to log4j2 appender. Logback design does not allow allocation free operation, but we go to great +lengths to reduce allocations and even provide an optimized version of pattern layout. + Log4j2 appender is currently used to ship logs from tens of servers at about 10GB of logs per day. ## Getting started