Anybody an idea how I include the delimiter for the thousand power in big numbers using the {}
annotation?
log.info("Reading {} entries (multiplied with one million)", entries * 1_000_000);
Output (currently):
Reading 80000000 entries (multiplied with one million)
Output (desired):
Reading 80,000,000 entries (multiplied with one million)
Is there a way to realize this directly in Log4J2 without using an additional formatter like e.g. DecimalFormat
?