1
0
Fork 0
mirror of https://github.com/mmumshad/ansible-playable.git synced 2025-02-15 04:42:05 +00:00
ansible-playable/server/components/logger/logger.js
2017-07-08 20:32:46 -04:00

17 lines
327 B
JavaScript

/**
* Created by mannam4 on 7/8/2017.
*/
var winston = require('winston');
import config from '../../config/environment';
winston.add(winston.transports.File, {
filename: config.paths.local_server_logfile,
json: false,
colorize: true,
maxsize: '10485760',
maxFiles: '10'
});
module.exports = winston;