mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-11 22:13:20 +03:00
192ebb1739
refs #9178 - move tests as well
14 lines
464 B
JavaScript
14 lines
464 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')
|
|
});
|