awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
L

log4js-node/log4js-node

0
View on GitHub↗
5,838 stars·754 forks·JavaScript·4 views

Log4js Node

This is a logging framework for Node.js based on the log4j architecture. It provides a system for managing hierarchical loggers and severity thresholds, allowing application events to be recorded and categorized across different levels of importance.

The framework is distinguished by its cluster-aware logging, which synchronizes and coordinates output across multiple process clusters into a unified stream. It also includes a dedicated log file rotation manager that automatically rolls files by date or size to prevent disk space exhaustion, and a network log transporter for sending data to remote servers via TCP or UDP.

The project covers broad observability capabilities, including call stack capture for debugging and the ability to route log data to multiple destinations such as the console, local files, or external network services. It supports structured log formatting through custom output patterns and manages diagnostic volume through category-based level and route management.

Features

  • Node.js Logging Libraries - Provides a comprehensive logging framework specifically designed for the Node.js runtime environment.
  • System Logging and Debugging - Provides a high-performance framework for recording and categorizing diagnostic messages at various severity levels.
  • Logger Hierarchies - Provides a hierarchical system where severity levels and settings cascade from parent loggers to sub-categories.
  • Severity Threshold Management - Allows assigning different severity thresholds to specific categories to control the volume of produced diagnostic data.
  • Log File Rotators - Automatically rotates log files based on size limits or calendar dates to prevent disk exhaustion.
  • Log4j-Style Architectures - Implements a logging architecture based on log4j for managing hierarchical loggers and severity thresholds.
  • Cluster-Aware Loggers - Acts as a synchronization system coordinating log output across Node.js process clusters.
  • Cluster Output Synchronization - Synchronizes and coordinates log output across multiple Node.js process clusters into a unified event stream.
  • Cluster Log Synchronization - Synchronizes and coordinates log output across multiple Node.js process clusters into a unified stream.
  • Category-Based Log Routing - Assigns unique logging levels and destinations to named categories to control the granularity of captured data.
  • Hierarchical Log Entries - Organizes loggers into hierarchical groups that inherit output settings and severity levels.
  • Log Rotation Utilities - Automates the splitting and archiving of log files by size or time to manage disk space.
  • Multi-Destination Log Routers - Routes log events to multiple heterogeneous targets including the console, local files, and network services.
  • Remote Log Collection Protocols - Transports log data to remote collectors using TCP and UDP network protocols.
  • Custom Severity Levels - Supports the creation of specialized logging categories with unique colors for organized event tracking.
  • Log Pattern Formatting - Transforms raw log data into structured text via custom patterns and dynamic metadata placeholders.
  • Appender-Based Routing - Implements a modular plug-in system to route log messages to various destinations like files or network sockets.
  • Custom Log Formatting - Allows defining custom layouts and injecting metadata to structure log entries for better auditing.
  • Stack Trace Generation - Captures and parses the runtime call stack to identify the exact file and line number of log triggers.
  • Centralized Logging Systems - Supports transmitting logs from distributed processes to a remote destination for unified monitoring.
  • Logger-Level Property Attachments - Adds key-value properties to logger instances to group related messages from specific users or sessions.
  • Remote Log Transmission - Transmits log data to remote servers using TCP or UDP protocols for centralized logging.
  • TCP/UDP Log Ingestion - Serializes and transmits log events over TCP and UDP sockets for centralized data collection.
  • Logging - Logging library for Node.js.

Star history

Star history chart for log4js-node/log4js-nodeStar history chart for log4js-node/log4js-node

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does log4js-node/log4js-node do?

This is a logging framework for Node.js based on the log4j architecture. It provides a system for managing hierarchical loggers and severity thresholds, allowing application events to be recorded and categorized across different levels of importance.

What are the main features of log4js-node/log4js-node?

The main features of log4js-node/log4js-node are: Node.js Logging Libraries, System Logging and Debugging, Logger Hierarchies, Severity Threshold Management, Log File Rotators, Log4j-Style Architectures, Cluster-Aware Loggers, Cluster Output Synchronization.

What are some open-source alternatives to log4js-node/log4js-node?

Open-source alternatives to log4js-node/log4js-node include: winstonjs/winston — Winston is a versatile logging library for Node.js designed to record system events and metadata. It functions as a… qos-ch/logback — Logback is a Java logging framework used to record system events and diagnostic messages through a programmable API.… klauscfhq/signale — Signale is a formatted console logging library for Node.js applications. It serves as a pluggable logging framework… trentm/node-bunyan — This project is a structured logging framework and library for Node.js applications. It produces machine-readable log… swiftybeaver/swiftybeaver — SwiftyBeaver is an extensible logging framework for Swift that routes log output to multiple destinations… sirupsen/logrus — Logrus is a structured logging library for Go that produces machine-readable output using key-value pairs and JSON…

Open-source alternatives to Log4js Node

Similar open-source projects, ranked by how many features they share with Log4js Node.
  • winstonjs/winstonwinstonjs avatar

    winstonjs/winston

    24,478View on GitHub↗

    Winston is a versatile logging library for Node.js designed to record system events and metadata. It functions as a multi-transport log manager that routes data to various destinations and a structured log formatter that transforms entries into JSON or plain text. The project is distinguished by its pluggable transport architecture, which decouples the logging interface from delivery mechanisms. This allows for the creation of custom transport extensions and the use of hierarchical logger instances to inherit configurations while attaching persistent metadata to downstream messages. The libr

    JavaScript
    View on GitHub↗24,478
  • qos-ch/logbackqos-ch avatar

    qos-ch/logback

    3,211View on GitHub↗

    Logback is a Java logging framework used to record system events and diagnostic messages through a programmable API. It serves as a concrete implementation of the Simple Logging Facade for Java (SLF4J) and provides a structured logging engine for outputting events in machine-readable formats like JSON. The system distinguishes itself through an asynchronous log processor that utilizes circular queues and background workers to reduce performance overhead. It also features a log file rotation manager for size-based or time-based rollover with automatic compression, and the ability to update log

    Java
    View on GitHub↗3,211
  • klauscfhq/signaleklauscfhq avatar

    klauscfhq/signale

    9,176View on GitHub↗

    Signale is a formatted console logging library for Node.js applications. It serves as a pluggable logging framework and stream-based log router that allows users to record system events using customizable levels, colors, and output styles. The project distinguishes itself as an interactive console logger capable of overwriting previous messages to reduce terminal clutter during long-running tasks. It also functions as an application performance monitor, providing tools to measure and track execution time between specific code points to identify performance bottlenecks. The library covers a b

    JavaScript
    View on GitHub↗9,176
  • trentm/node-bunyantrentm avatar

    trentm/node-bunyan

    7,212View on GitHub↗

    This project is a structured logging framework and library for Node.js applications. It produces machine-readable log records in JSON format with tiered severity levels, ensuring consistent parsing and centralized storage. The system includes a log stream manager for routing records to multiple destinations, such as files and consoles, and a command line interface for filtering, formatting, and visualizing raw JSON log streams. It supports the creation of child loggers that inherit parent configurations and merge additional contextual metadata. The framework covers a broad range of operation

    JavaScript
    View on GitHub↗7,212
See all 30 alternatives to Log4js Node→