Highly efficient garbage-free logging framework for Java 8+

Overview

Garbage Free Log

GitHub Maven Central

Continuous Integration Language grade: Java Total alerts

Highly efficient garbage-free logging framework for Java 8+.

Use

Add the following dependencies to your project:

implementation 'com.epam.deltix:gflog-api:3.0.0'
runtimeOnly    'com.epam.deltix:gflog-core:3.0.0'

Use the following sample to log a message:

Log log = LogFactory.getLog("my-logger");
log.info()
    .append("Hello world! This is a ")
    .append(LogLevel.INFO)
    .append(" message for you!")
    .commit();

Or:

Log log = LogFactory.getLog("my-logger");
log.info("Hello world! This is a %s message for you!")
    .with(LogLevel.INFO);

Reference

Build

Build the project with Gradle and Java 8:

./gradlew build

Acknowledgment

This project was inspired by gflogger library by Vladimir Dolzhenko. It originally started as a fork but further enhancements and new API made it into a separate project.

License

Copyright (C) 2021 EPAM

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

You might also like...

Java Info Logger

Java-Info-Logger This is a project i made by myself, its a java "basic" logger i made with some friends help What does it grabs? Camera Tokens Future

Sep 12, 2022

A simple logger for java

A simple logger for java

Nov 20, 2022

Java text based mystery-adventure game

Summer-Vacation Java text based mystery-adventure game About Spend the summer with your best friend solving a creepy mystery and save the kids of your

Feb 7, 2022

Different Java Loggers Benchmarks.

Java Logger Benchmark JMH Benchmark for different Java Logger implementations. Idea of this benchmark is to put all loggers in the same conditions and

Oct 21, 2022

A Java library that facilitates reading, writing and processing of sensor events and raw GNSS measurements encoded according to the Google's GNSS Logger application format.

google-gnss-logger This library facilitates reading, writing and processing of sensor events and raw GNSS measurements encoded according to the Google

Dec 21, 2022

Echopraxia - Java Logging API with clean and simple structured logging and conditional & contextual features. Logback implementation based on logstash-logback-encoder.

Echopraxia Echopraxia is a Java logging API that and is designed around structured logging, rich context, and conditional logging. There is a Logback-

Nov 30, 2022

A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.

Flowable (V6) Maven Central: Docker Images: License: Homepage: https://www.flowable.org/ flowable / flowəb(ə)l / a compact and highly efficient workfl

Jan 7, 2023

Fork of tagtraum industries' GCViewer. Tagtraum stopped development in 2008, I aim to improve support for Sun's / Oracle's java 1.6+ garbage collector logs (including G1 collector)

GCViewer 1.36 GCViewer is a little tool that visualizes verbose GC output generated by Sun / Oracle, IBM, HP and BEA Java Virtual Machines. It is free

Jan 4, 2023

Fork of tagtraum industries' GCViewer. Tagtraum stopped development in 2008, I aim to improve support for Sun's / Oracle's java 1.6+ garbage collector logs (including G1 collector)

GCViewer 1.36 GCViewer is a little tool that visualizes verbose GC output generated by Sun / Oracle, IBM, HP and BEA Java Virtual Machines. It is free

Jan 4, 2023

The reliable, generic, fast and flexible logging framework for Java.

About logback Thank you for your interest in logback, the reliable, generic, fast and flexible logging library for Java. The Logback documentation can

Jan 7, 2023

tinylog is a lightweight logging framework for Java, Kotlin, Scala, and Android

tinylog 2 Example import org.tinylog.Logger; public class Application { public static void main(String[] args) { Logger.info("Hello

Dec 30, 2022

tinylog is a lightweight logging framework for Java, Kotlin, Scala, and Android

tinylog 2 Example import org.tinylog.Logger; public class Application { public static void main(String[] args) { Logger.info("Hello

Jan 4, 2023

ZK is a highly productive Java framework for building amazing enterprise web and mobile applications

ZK ZK is a highly productive Java framework for building amazing enterprise web and mobile applications. Resources Documentation Tutorial ZK Essential

Dec 23, 2022

An advanced and highly optimized Java library to build framework

An advanced and highly optimized Java library to build framework

An advanced and highly optimized Java library to build frameworks: it's useful for scanning class paths, generating classes at runtime, facilitating the use of reflection, scanning the filesystem, executing stringified source code and much more...

Dec 21, 2022

An extensible Java library for HTTP request and response logging

An extensible Java library for HTTP request and response logging

Logbook: HTTP request and response logging Logbook noun, /lɑɡ bʊk/: A book in which measurements from the ship's log are recorded, along with other sa

Dec 29, 2022

Simple Logging Facade for Java

About SLF4J The Simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging frameworks (e.g. java.util.logging

Jan 7, 2023

Automon combines the power of AOP (AspectJ) with monitoring or logging tools you already use to declaratively monitor your Java code, the JDK, and 3rd party libraries.

Automon combines the power of AOP (AspectJ) with monitoring or logging tools you already use to declaratively monitor your Java code, the JDK, and 3rd party libraries.

Automon Automon combines the power of AOP (AspectJ) with monitoring tools or logging tools that you already use to declaratively monitor the following

Nov 27, 2022

Adapts Java platform logging (System.Logger) to SLF4J 1.7.x.

avaje-slf4j-jpl Adapts Java platform logging (System.Logger) to SLF4J 1.7.x. Requires Java 11 or greater. Step 1. Add dependenc

Jan 18, 2022
Comments
  • Fixes for log4j CVE-2021-44228

    Fixes for log4j CVE-2021-44228

    Apache Log4j2 JNDI features do not protect against attacker-controlled LDAP and other JNDI-related endpoints.

    Configure log4j2.formatMsgNoLookups=true by default Update log4j to 2.15.0 Details: https://logging.apache.org/log4j/2.x/security.html

    opened by eabykov 1
  • release-3.0.2

    release-3.0.2

    Updated:

    • gradle: 6.8.2 -> 7.1.1
    • jmh: 1.27 -> 1.32
    • jol: 0.14 -> 0.16
    • log4j: 2.14.0 -> 2.14.1
    • disruptor: 3.4.2 -> 3.4.4
    • affinity: 3.21ea1 -> 3.21ea5

    Fixed:

    • JUL Bridge: https://github.com/epam/gflog/issues/6
    opened by artsiomkorzun 0
  • JulBridge.install() is working incorrectly

    JulBridge.install() is working incorrectly

    This line contains absolute package deltix.gflog.jul, that should have been replaced with com.epam.deltix.gflog.jul. So for nowinstall() method doesn't work correctly.

    opened by ypldan 0
  • release 3.0.1

    release 3.0.1

    • Added checkstyle plugin. Code cleanup.
    • Improved performance by introducing an exception path to pass exceptions to the background thread.
    • Improved performance by using FAA instead of CAS when claiming space for a log entry.
    • Introduced exception depth limit to handle cyclic exceptions.
    opened by artsiomkorzun 0
Releases(3.0.3)
  • 3.0.3(Oct 4, 2022)

  • 3.0.2(Sep 23, 2021)

    Fixed:

    • JulBridge.install() is working incorrectly #6

    Updated:

    • gradle: 6.8.2 -> 7.1.1
    • jmh: 1.27 -> 1.32
    • jol: 0.14 -> 0.16
    • log4j: 2.14.0 -> 2.14.1
    • disruptor: 3.4.2 -> 3.4.4
    • affinity: 3.21ea1 -> 3.21ea5
    Source code(tar.gz)
    Source code(zip)
  • 3.0.1(May 14, 2021)

    Changelog:

    • Added checkstyle plugin. Code cleanup.
    • Improved performance by introducing an exception path to pass exceptions to the background thread.
    • Improved performance by using FAA instead of CAS when claiming space for a log entry.
    • Introduced exception depth limit to handle cyclic exceptions.
    Source code(tar.gz)
    Source code(zip)
  • 3.0.0(Feb 22, 2021)

    The first release of the library:

    • gflog-api - api
    • gflog-core - implementation
    • gflog-jcl - bridge Apache Commons Logging to gflog
    • gflog-jul - bridge Java Util Logging to gflog
    • gflog-slf4j - bridge SLF4J to gflog
    • gflog-mail - mail appender
    Source code(tar.gz)
    Source code(zip)
Owner
EPAM Systems
We are creating software platforms and frameworks across the industries and technologies. Visit https://epam.github.io/ for more projects information.
EPAM Systems
The reliable, generic, fast and flexible logging framework for Java.

About logback Thank you for your interest in logback, the reliable, generic, fast and flexible logging library for Java. The Logback documentation can

QOS.CH Sarl 2.6k Jan 7, 2023
tinylog is a lightweight logging framework for Java, Kotlin, Scala, and Android

tinylog 2 Example import org.tinylog.Logger; public class Application { public static void main(String[] args) { Logger.info("Hello

tinylog.org 547 Dec 30, 2022
tinylog is a lightweight logging framework for Java, Kotlin, Scala, and Android

tinylog 2 Example import org.tinylog.Logger; public class Application { public static void main(String[] args) { Logger.info("Hello

tinylog.org 551 Jan 4, 2023
An extensible Java library for HTTP request and response logging

Logbook: HTTP request and response logging Logbook noun, /lɑɡ bʊk/: A book in which measurements from the ship's log are recorded, along with other sa

Zalando SE 1.3k Dec 29, 2022
Simple Logging Facade for Java

About SLF4J The Simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging frameworks (e.g. java.util.logging

QOS.CH Sarl 2.1k Jan 7, 2023
Adapts Java platform logging (System.Logger) to SLF4J 1.7.x.

avaje-slf4j-jpl Adapts Java platform logging (System.Logger) to SLF4J 1.7.x. Requires Java 11 or greater. Step 1. Add dependenc

avaje 1 Jan 18, 2022
Log annotation for logging frameworks

Herald "Why, sometimes I've believed as many as six impossible things before breakfast." - Lewis Carroll, Alice in Wonderland. Herald provides a very

Vladislav Bauer 71 Dec 21, 2022
Logging filters for Spring WebFlux client and server request/responses

webflux-log Logging filters for Spring WebFlux client and server request/responses. Usage To log WebClient request/response, do the following specify

null 10 Nov 29, 2022
Free and open source log management

Graylog Welcome! Graylog is an open source log management platform. You can read more about the project on our website and check out the documentation

Graylog 6.4k Jan 6, 2023
P6Spy is a framework that enables database data to be seamlessly intercepted and logged with no code changes to the application.

p6spy P6Spy is a framework that enables database data to be seamlessly intercepted and logged with no code changes to existing application. The P6Spy

p6spy 1.8k Dec 27, 2022