From 2b75d1f9dfd01fb9d3675fd429770d66593febae Mon Sep 17 00:00:00 2001 From: Tim Birkett Date: Tue, 16 Apr 2019 12:04:15 +0100 Subject: [PATCH] Exposed new logging config options (#10678) no issue - Exposes the new name and gelf logging options. --- core/server/lib/common/logging.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/server/lib/common/logging.js b/core/server/lib/common/logging.js index 5360c44718..d3d332a42e 100644 --- a/core/server/lib/common/logging.js +++ b/core/server/lib/common/logging.js @@ -2,12 +2,14 @@ const config = require('../../config'), {logging} = require('ghost-ignition'); module.exports = logging({ + name: config.get('logging:name'), 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'), + gelf: config.get('logging:gelf'), loggly: config.get('logging:loggly'), rotation: config.get('logging:rotation') });