Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions meshtastic/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,54 @@ message Config {
*/
bool ipv6_enabled = 11;

/*
* Syslog log level to control which messages are sent to the rsyslog server.
* Only messages at or above this level will be forwarded.
* Values match LogRecord.Level for consistency. Default (UNSET) treats as INFO.
*/
enum LogLevel {
/*
* No level set, firmware defaults to INFO
*/
LOG_UNSET = 0;

/*
* Trace level (most verbose)
*/
LOG_TRACE = 5;

/*
* Debug level
*/
LOG_DEBUG = 10;

/*
* Informational
*/
LOG_INFO = 20;

/*
* Warning conditions
*/
LOG_WARNING = 30;

/*
* Error conditions
*/
LOG_ERROR = 40;

/*
* Critical conditions
*/
LOG_CRITICAL = 50;
}

/*
* Minimum severity level of log messages to send to the rsyslog server.
* Messages below this level are filtered out. Default (UNSET) sends INFO and above.
*/
LogLevel rsyslog_level = 12;

/*
* Available flags auxiliary network protocols
*/
Expand Down