12 lines
231 B
JavaScript
12 lines
231 B
JavaScript
|
|
const log4js = require('log4js'),
|
|
mongoAppender = require('log4js-node-mongodb');
|
|
|
|
log4js.addAppender(
|
|
mongoAppender.appender(
|
|
{ 'connectionString': 'localhost:27017/jubilee' }),
|
|
'audit'
|
|
);
|
|
|
|
module.exports = { log4js };
|