You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mar.mar_entry_max_count, which allows for setting the max number of MAR
entries in your tmp directory. This will default to 1000.
logs.max_buffered_lines, which sets the max number of lines that will be
kept in memory before lines are dropped. Note that this is the same as fluent-bit.max_buffered_lines, but will apply to both the fluent-bit log
source as well as the journald log source. If you have previously configured fluent-bit.max_buffered_lines that value will be used instead of the general
config.
Added the kind field to the MAR POST body. This is a field that is used by
Memfault to differentiate the source of a MAR entry.
Added logs.extra_attributes option to configure extra log attributes to keep
in the log file (similar to fluent-bit.extra_attributes
which still works but will be deprecated)
Changed
The LogCollector has gone through a refactor to make the concurrency methods
more consistent with the rest of the code base. This has also allowed us to
make the following change.
Moved recovery of logs in the logs directory into the LogCollector thread.
This prevents a case where memfaultd could be slow to start when there is a
large number of MAR entries on disk, and depending on systemd configuration,
could be considered crashed and restarted before booting completely.
Fixed
When passing a null to disable a feature there was a case where the config
merging logic would fail. This would result in a case where a subset of
configs were not possible. Fixed this logic to allow these valid use cases.