]> git.proxmox.com Git - pmg-log-tracker.git/commit - debian/control
add support for bookworm syslog time format
authorMira Limbeck <m.limbeck@proxmox.com>
Mon, 26 Jun 2023 10:41:41 +0000 (12:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Jun 2023 16:04:53 +0000 (18:04 +0200)
commit34c921adddf2ba7d267de0365828a83a909c9698
treef5aa162556bd49636024f1ffe6bcde1c3aac95e8
parentc8d2476d054ab57c8c04e2e137160ab37e7c0129
add support for bookworm syslog time format

Adds `proxmox-time` as dependency to parse the timestamp

Since parse_rfc3339 can't handle microseconds, we try to remove the dot
followed by 6 digits of microseconds before passing it to parse_rfc3339.

A fallback to the previous format is used when when it fails to parse
the new format.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Cargo.toml
debian/control
src/main.rs