log4js-node-mongodb icon indicating copy to clipboard operation
log4js-node-mongodb copied to clipboard

A log4js-node log appender to write logs into MongoDB

Results 8 log4js-node-mongodb issues
Sort by recently updated
recently updated
newest added
trafficstars

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 2.2.36 to 3.6.1. Release notes Sourced from mongodb's releases. v3.6.1 The MongoDB Node.js team is pleased to announce version 3.6.1 of the driver Release Highlights Kerberos A...

dependencies

When trying to configure using the new log4js configuration format ``` log4js.configure({ appenders: { out: { type: 'stdout' }, app: { type: 'log4js-node-mongodb', connectionString: config.db_log_url } }, categories: { default:...

Please update the mongodb version regarding security vulnarability "https://npmjs.com/advisories/1203" which is on mongodb package.

I am getting exception when trying this line: log4js.addAppender( mongoAppender.appender({connectionString: 'localhost:27017/logs'}), 'cheese' );Exception: Exception has occurred: Error TypeError: log4js.addAppender is not a function at Object. (d:\myScriptFile.js:28:8) at Module._compile (module.js:556:32) at...

function insert(loggingEvent) { var options = getOptions(); **var category;** **if (loggingEvent.hasOwnProperty('logger.category')) { category = loggingEvent.logger.category; } else { category = loggingEvent.categoryName; }** if (collection) { if (options.w === 0) {...

`loggingEvent.logger.category` does not exist anymore in log4js-node v2. This PR replaces it with `loggingEvent.categoryName`

Added an if statement to check if db is defined before attempting to use it in the connect method. Also added an option for skipping errors on insert in included...