v1.18.x
barisusakli 8 years ago
parent 9d229ae960
commit 085d8c2f92

@ -1,13 +1,12 @@
'use strict'; 'use strict';
var path = require('path'); var path = require('path');
var nconf = require('nconf');
var fs = require('fs'); var fs = require('fs');
var winston = require('winston'); var winston = require('winston');
module.exports = function (Meta) { module.exports = function (Meta) {
Meta.logs = { Meta.logs = {
path: path.join(nconf.get('base_dir') || (__dirname + '../../'), 'logs', 'output.log'), path: path.join(__dirname, '..', '..', 'logs', 'output.log'),
}; };
Meta.logs.get = function (callback) { Meta.logs.get = function (callback) {

Loading…
Cancel
Save