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