mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
a353a9e0ea
no issue
13 lines
460 B
JavaScript
13 lines
460 B
JavaScript
var config = require('./config'),
|
|
logging = require('ghost-ignition').logging;
|
|
|
|
module.exports = logging({
|
|
env: config.get('env'),
|
|
path: config.get('logging:path') || config.getContentPath('logs'),
|
|
domain: config.get('url'),
|
|
mode: config.get('logging:mode'),
|
|
level: config.get('logging:level'),
|
|
transports: config.get('logging:transports'),
|
|
loggly: config.get('logging:loggly'),
|
|
rotation: config.get('logging:rotation')
|
|
});
|