log4js-node-mongodb

JSON →
library 2.2.1 ·javascript maintenance
verified Jun 5, 2026

A log appender for log4js-node that writes log events to MongoDB. Version 2.2.1 is the latest stable release, compatible with log4js 1.x. It stores logs in a configurable collection with fields for timestamp, data, level, and category. Supports connection options and can log strings or objects. Compared to other MongoDB appenders, it is lightweight and designed specifically for the log4js ecosystem. The package is maintained by Litixsoft but updates are infrequent.