bigbluebutton-Github/labs/api/recordings/lib/logger.coffee
2014-05-02 19:01:11 +00:00

20 lines
296 B
CoffeeScript
Executable File

bunyan = require 'bunyan'
config = require '../config'
logger = bunyan.createLogger({
name: 'bbbnode',
streams: [
{
level: 'debug',
stream: process.stdout
},
{
level: 'info',
path: config.log.path
}
]
})
module.exports = logger