awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
L

log4js-node/log4js-node

0
View on GitHub↗
5,838 星标·754 分支·JavaScript·4 次浏览

Log4js Node

这是一个基于 log4j 架构的 Node.js 日志框架。它提供了一个用于管理分层记录器和严重性阈值的系统,允许跨不同重要性级别记录和分类应用程序事件。

该框架以其集群感知日志记录而著称,它将多个进程集群的输出同步并协调为一个统一的流。它还包括一个专用的日志文件轮转管理器,可按日期或大小自动滚动文件以防止磁盘空间耗尽,以及一个用于通过 TCP 或 UDP 将数据发送到远程服务器的网络日志传输器。

该项目涵盖了广泛的可观测性功能,包括用于调试的调用栈捕获,以及将日志数据路由到多个目的地(如控制台、本地文件或外部网络服务)的能力。它通过自定义输出模式支持结构化日志格式,并通过基于类别的级别和路由管理来管理诊断量。

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 历史

log4js-node/log4js-node 的 Star 历史图表log4js-node/log4js-node 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

log4js-node/log4js-node 是做什么的?

这是一个基于 log4j 架构的 Node.js 日志框架。它提供了一个用于管理分层记录器和严重性阈值的系统,允许跨不同重要性级别记录和分类应用程序事件。

log4js-node/log4js-node 的主要功能有哪些?

log4js-node/log4js-node 的主要功能包括: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。

log4js-node/log4js-node 有哪些开源替代品?

log4js-node/log4js-node 的开源替代品包括: 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…

Log4js Node 的开源替代方案

相似的开源项目,按与 Log4js Node 的功能重合度排序。
  • winstonjs/winstonwinstonjs 的头像

    winstonjs/winston

    24,478在 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
    在 GitHub 上查看↗24,478
  • qos-ch/logbackqos-ch 的头像

    qos-ch/logback

    3,211在 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
    在 GitHub 上查看↗3,211
  • klauscfhq/signaleklauscfhq 的头像

    klauscfhq/signale

    9,176在 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
    在 GitHub 上查看↗9,176
  • trentm/node-bunyantrentm 的头像

    trentm/node-bunyan

    7,212在 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
    在 GitHub 上查看↗7,212
  • 查看 Log4js Node 的所有 30 个替代方案→