jubilee/server/lib/logger.js
2018-04-15 22:56:44 +01:00

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 };