Fix syslog level

This commit is contained in:
MichaelDvP
2021-04-15 17:53:09 +02:00
committed by GitHub
parent 33c3ef64e9
commit 73e478c50c

View File

@@ -142,6 +142,7 @@ void System::syslog_start() {
if (syslog_enabled_) { if (syslog_enabled_) {
#ifndef EMSESP_STANDALONE #ifndef EMSESP_STANDALONE
syslog_.start(); syslog_.start();
syslog_.log_level((uuid::log::Level)syslog_level_);
#endif #endif
EMSESP::logger().info(F("Starting Syslog")); EMSESP::logger().info(F("Starting Syslog"));
} }