{"library":"log4js-node-mongodb","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"2.2.1","tags":["javascript","log4js","mongo","mongodb","logging","log"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install log4js-node-mongodb","imports":["const mongoAppender = require('log4js-node-mongodb');\nlog4js.addAppender(mongoAppender.appender({...}), 'category');","log4js.configure({ appenders: [{ type: 'log4js-node-mongodb', connectionString: '...', category: '...' }] });","const mongoAppender = require('log4js-node-mongodb');"]},{"cmd":"yarn add log4js-node-mongodb","imports":[]},{"cmd":"pnpm add log4js-node-mongodb","imports":[]}],"homepage":"https://github.com/litixsoft/log4js-node-mongodb","github":"https://github.com/litixsoft/log4js-node-mongodb","docs":null,"changelog":null,"pypi":null,"npm":"log4js-node-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}