FreeLogJ - Start a conversation in your company about paying open source maintainers

Related tags

Spring Boot FreeLogJ
Overview

FreeLogJ

Start a conversation in your company about paying open source maintainers!

In the meantime enjoy this simple logging framework^W class.

Features:

  • It's a single tiny Class! (+Enum). Easy to understand and audit.

  • There's a LoggerFactory for convenience / easier drop-in replacement.

  • API similar to SLF4j, varargs log parameters are substituted for braces {}

  • isXEnabled() for wrapping expensive log sections.

  • Any unmatched Throwable args will print a stack trace to the PrintStream.

  • Log levels: TRACE, DEBUG, INFO, WARN, ERROR, FATAL. Log level is not modifiable after Logger is constructed.

  • No config files. You can pass your own DateFormat and PrintStream to the Logger constructor or LoggerFactory initialise() method.

  • Default PrintStream is System.out, if you want file logging then pass a PrintStream that wraps a file-based OutputStream.

Caveats:

  • Performance is probably meh. If you're logging that much text then consider whether monitoring/telemetry/JFR would suit you better.

But seriously

The Log4j team work hard and deserve your respect. So much of the Java ecosystem depends on them (and all the other OSS maintainers).

We can all benefit from taking some time to understand our software dependencies better and whether any functionality they contain might clash with our security requirements.

Much love, @chriswhocodes

You might also like...

Hcode Online Judge(HOJ):An open source online judge system base on SpringBoot, Springcloud Alibaba and Vue.js !

Hcode Online Judge(HOJ):An open source online judge system base on SpringBoot, Springcloud Alibaba and Vue.js !

Hcode Online Judge(HOJ) 前言 基于前后端分离,分布式架构的在线测评平台(hoj),前端使用vue,后端主要使用springboot,redis,mysql,nacos等技术。 在线Demo:https://hdoi.cn 在线文档:https://www.hcode.top/

Dec 31, 2022

An open source Minecraft plugin that allows operators to control who has access to the nether.

Nether Access Controller Description Nether Access Controller is a Minecraft plugin that allows operators to control access to the nether. It is essen

Feb 12, 2022

log4j-scanner is a project derived from other members of the open-source community by CISA's Rapid Action Force team to help organizations identify potentially vulnerable web services affected by the log4j vulnerabilities.

Log4j Scanner This repository provides a scanning solution for the log4j Remote Code Execution vulnerabilities (CVE-2021-44228 & CVE-2021-45046). The

Dec 22, 2022

Apache Maven artifacts for bootstrapping new open-source projects

OSS Quickstart Apache Maven archetypes for bootstrapping new open-source projects. Think Maven Quickstart Archetype and friends, but more modern, comp

Dec 31, 2022

🕊️ The world's most advanced open source instant messaging engine for 100K~10M concurrent users https://turms-im.github.io/docs

🕊️ The world's most advanced open source instant messaging engine for 100K~10M concurrent users https://turms-im.github.io/docs

简体中文 What is Turms Turms is the most advanced open-source instant messaging engine for 100K~10M concurrent users in the world. Please refer to Turms D

Dec 27, 2022

open-source electronics platform

Arduino is an open-source physical computing platform based on a simple I/O board and a development environment that implements the Processing/Wiring

Jan 4, 2023

Rivr is a lightweight open-source dialogue engine enabling Java developers to easily create enterprise-grade VoiceXML applications.

Overview Rivr is a lightweight open-source dialogue engine enabling Java developers to easily create enterprise-grade VoiceXML applications. Read our

Jun 27, 2022

Free and 100% open source Progressive Java Runtime for modern Java™ deployments supported by a leading OpenJDK contributor

BellSoft Liberica JDK is a build of OpenJDK that is tested and verified to be compliant with the Java SE specification using OpenJDK Technology Compat

Dec 22, 2022

GreenMail is an open source, intuitive and easy-to-use test suite of email servers for testing purposes.

GreenMail GreenMail is an open source, intuitive and easy-to-use test suite of email servers for testing purposes. Supports SMTP, POP3, IMAP with SSL

Dec 28, 2022
Comments
  • Switch from java.util.Date with synchronized formatting to Instant

    Switch from java.util.Date with synchronized formatting to Instant

    Friends don't let friends use java.util.Date (attribution) 😉

    Switching to Instant means logging will always be in UTC (which is handy for apps deployed across timezones) and means we no longer need to synchronize around the formatting, as DateTimeFormatter is thread-safe

    opened by timyates 6
  • Add Supplier<String> based logger methods

    Add Supplier based logger methods

    This means the caller doesn't need to check if the logger is enabled prior to doing a long running log message calculation. The calculation is only executed if the level is high enough to be logged.

    Feel free to ignore this if it adds unnecessary complication to the otherwise simple api

    opened by timyates 4
Owner
Chris Newland
I make tools for understanding the Java Virtual Machine: JITWatch, VM Options Explorer, JaCoLine, JEPMap.
Chris Newland
A secured RESTful service for company payrolls.

Account Service A RESTful service for a company to upload employee payrolls. Scope Project was created as part of a learning track of an online academ

Alexios Giazitzis 1 Feb 14, 2022
During a machine coding round of the company, I designed the Conference Room System in a given one hour.

DesignConferenceRoom DESIGN A CONFERENCE ROOM One of the core problems which people face at every company is the unavailability of conference rooms. S

Shubham Thakur 2 Dec 23, 2022
A beginner friendly repo to start your hacktoberfest journey.

Hacktoberfest 2021 Hacktoberfest details : Hacktoberfest® is open to everyone in global community. Whether you’re a developer, student learning to cod

null 6 Oct 28, 2021
The project aim at easier to start a spring boot/cloud project.

easy-starters 是一个公共 starter 集合,旨在帮助 java 开发者快速构建 Springboot 与 Spring Cloud 项目. lx-starters的环境要求 JDK requirement: JDK 1.8+ Spring booter 2.x,+ 如何引用lx-s

null 3 Jul 11, 2022
This project provides an advanced baseline to help you kick start a Spring project.

?? Advanced Spring Scaffold The Spring Framework is an application framework and inversion of control container for the Java platform. This project wa

André de Sousa 22 Oct 15, 2022
This repository should serve as a guide to everybody who wants to study software and hardware for embedded systems but doesn't know where to start.

Roadmap to Embedded Engineering This repository should serve as a guide to anyone who wants to study software and hardware for embedded systems but do

Mateus Antonio da Silva 108 Jan 4, 2023
Curso Bootcamp GFT Start Woman Java (dizem que quem deixa estrelas nesse repositório, é pq é bonito! :)

☕ Curso: Bootcamp GFT Start Woman Java O Bootcamp GFT Start Woman Java é um programa gratuito direcionado para desenvolvedoras que estão começando a j

Sah 4 May 7, 2022
Desafio Técnico GFT Start #5

GFT Start Java Esta mentoria tem como objetivo ajudar os Devs participantes do Programa GFT Start #5 Java a resolver o Desafio Técnico que será propos

Camila Cavalcante 28 Sep 20, 2022
The open source CyborgFlow project is an out-of-the-box (OOTB) solution to perform load test on your online system.

CyborgFlow CyborgFlow provides an out-of-the-box (OOTB) solution to perform load test on your online system, powered by Apache APISIX, Apache SkyWalki

SphereEx 70 Nov 30, 2022
Spring-Boot-Plus is a easy-to-use, high-speed, high-efficient,feature-rich, open source spring boot scaffolding

Everyone can develop projects independently, quickly and efficiently! What is spring-boot-plus? A easy-to-use, high-speed, high-efficient, feature-ric

geekidea 2.3k Dec 31, 2022