Skip to content

[Feature Request]: Set syslog timestamp field when possible #7609

@jinnatar

Description

@jinnatar

Platform

Cross-Platform

Description

At current remote syslog messages are sent in the RFC5424 format while setting the TIMESTAMP field to NILVALUE aka -: https://github.com/meshtastic/firmware/blob/master/src/DebugConfiguration.cpp#L179 (the last - there).
While this is standards compliant, turns out some syslog implementations assume the timestamp will always be populated. (For example, the Rust crate syslog_loose as used by Vector.)

Ideally all syslog parsers claiming RFC5324 compatibility would accept the syslog messages with nil timestamps and substitute time of receive, but since that's very much not true today, it would help if timestamps were included when available.

Metadata

Metadata

Labels

enhancementNew feature or requestgood first issueGood for newcomershelp wantedWe'd welcome help on this issuelinux-nativerelated to running meshtastic as daemon on native linuxtriagedReviewed by the team, has enough information and ready to work on now.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions