From d17fa468d6ba28c9b0432cbd2050dae36ca466e1 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 16 Aug 2020 15:40:53 +0200 Subject: [PATCH] remove syslog starting when settings saved --- src/EMSESPSettingsService.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/EMSESPSettingsService.cpp b/src/EMSESPSettingsService.cpp index 9cf40cf9e..18cf19eaa 100644 --- a/src/EMSESPSettingsService.cpp +++ b/src/EMSESPSettingsService.cpp @@ -51,10 +51,11 @@ StateUpdateResult EMSESPSettings::update(JsonObject & root, EMSESPSettings & set return StateUpdateResult::CHANGED; } -// this is called after the settings have been persisted to the filesystem +// this is called after any of the settings have been persisted to the filesystem +// either via the Web UI or via the Console void EMSESPSettingsService::onUpdate() { EMSESP::shower_.start(); - EMSESP::system_.syslog_init(); + // EMSESP::system_.syslog_init(); // changing SysLog will require a restart EMSESP::reset_tx(); }