]> git.ipfire.org Git - thirdparty/systemd.git/commit
timesyncd: generate a structure log message the first time we set the clock correctly
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Mar 2022 15:52:06 +0000 (16:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Mar 2022 22:54:05 +0000 (23:54 +0100)
commitb016e77efd5ecf65027942420abd9478c2cd65a3
tree3ead62fc59ba7da82e791c43baa614e2298b1fe9
parent1aa7ca224114a4280a51dfe57f0af5bc29ced65b
timesyncd: generate a structure log message the first time we set the clock correctly

Usecase: later on we can use this to retroactively adjust log output in
journalctl or similar on systems lacking an RTC: we just have to search
for this sructured log message that indicates the first sync point and
can then retroactively adjust the incorrect timestamps collected before
that.
catalog/systemd.catalog.in
src/systemd/sd-messages.h
src/timesync/timesyncd-manager.c
src/timesync/timesyncd-manager.h