weblog buffer max 1000 messages with psram, syslog buffer 250 with psram

This commit is contained in:
MichaelDvP
2026-01-28 15:01:15 +01:00
parent d702c485b7
commit 584618043d
3 changed files with 7 additions and 5 deletions

View File

@@ -501,7 +501,7 @@ void System::syslog_init() {
#ifndef EMSESP_STANDALONE
if (syslog_enabled_) {
// start & configure syslog
syslog_.maximum_log_messages(10);
syslog_.maximum_log_messages(psram_ ? 250 : 10);
syslog_.log_level((uuid::log::Level)syslog_level_);
syslog_.mark_interval(syslog_mark_interval_);
syslog_.destination(syslog_host_.c_str(), syslog_port_);

View File

@@ -67,9 +67,9 @@ class WebSettings {
uint8_t bool_dashboard;
uint8_t enum_format;
int8_t weblog_level;
uint8_t weblog_buffer;
bool weblog_compact;
int8_t weblog_level;
uint16_t weblog_buffer;
bool weblog_compact;
bool fahrenheit;