From 7b80405fc8a1c526d7dcaefb9e65ef4b1f598653 Mon Sep 17 00:00:00 2001 From: Josh Dover Date: Wed, 25 Mar 2020 18:42:55 -0600 Subject: [PATCH] Fix incorrect config validation on SIGHUP (#61246) (#61371) Co-authored-by: Rudolf Meijering --- src/legacy/server/kbn_server.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/legacy/server/kbn_server.js b/src/legacy/server/kbn_server.js index 6991527a9503c..e06212d87e3e3 100644 --- a/src/legacy/server/kbn_server.js +++ b/src/legacy/server/kbn_server.js @@ -199,8 +199,7 @@ export default class KbnServer { } applyLoggingConfiguration(settings) { - const config = new Config(this.config.getSchema(), settings); - + const config = Config.withDefaultSchema(settings); const loggingOptions = loggingConfiguration(config); const subset = { ops: config.get('ops'),