crossWhat is Chronicle Logger?

Chronicle Logger is an extremely fast Java logger. We feel logging should not slow down your system.

Chronicle Logger is able to aggregate all your logs to a central store; it has built in resilience, so you will never loose messages.

Chronicle Logger supports most of the standard logging APIs including slf4j, sun logging, commons logging, log4j.

Most programs require the logging of large amounts of data; this is especially true in trading systems where it is a regulatory requirement. Loggers can affect your system performance, therefore logging is sometimes kept to a minimum, With Chronicle Logger we aim to eliminate this added overhead, freeing your system to focus on the business logic.

How it workswrench

Chronicle Logger is built on Chronicle Queue. It provides multiple Chronicle Queue adapters and is a low-latency, high-throughput synchronous writer. Unlike asynchronous writers, you will always see the last message before the application dies;.the last message is often the most valuable.

Featurescog

  • Chronicle Logger can support over one million messages per-second per-node.
  • Concurrent writers across processes, and aggregation across machines.  You can have multiple aggregating nodes to process your logs.
  • Chronicle Logger supports querying of messages, as well as real-time event-driven processing of messages.

Suitability

You will find Chronicle Logger highly suitable if you:want to:

  • log the messages you have faster, but you don’t want to change your logging API.
  • log all your messages without losing any data, even in the event of a system failure.
  • aggregate your logs across logging libraries, across processes, or across machines.

Setup

An example setup could be that you have a cluster of nodes, running multiple applications, with different loggers. With Chronicle Logger you can ensure:

  • All the logs can be consolidated using replication to a central log analyser.
  • These analysers can trigger actions based on the content of the logs.
  • The logs can be analysed later in chronological order, despite being produced by different applications, on different machines.

For More Information

Chronicle LoggerDownload
for Log4J 1Download
for Log4J 2Download
for SLF4JDownload
for LogbackDownload
GitHubSourceCode
Source Code DocumentationJavaDoc
Stack OverflowQuestion