troglobit / sysklogd

BSD syslog daemon with syslog()/syslogp() API replacement for Linux, RFC3164 + RFC5424
https://troglobit.com/sysklogd.html
Other
93 stars 20 forks source link

RFE: Add option to never trust kernel timestamp? #79

Closed opty77 closed 5 months ago

opty77 commented 5 months ago

Please consider adding an option (e.g. -u) to never trust kernel timestamp or extending -t with an argument:

In my VPS provider case, it refers to host boot and not container boot although it may change in the future.

opty77 commented 5 months ago

It seems that I could trick syslogd into "never trust kernel timestamp" by creating cache file containing 18446744073709551000 before the daemon starts up the first time.

opty77 commented 5 months ago

And it seems to work so another useless option?