I've noticed that, for stdout logging, the date/time is only sometimes
prefixed:

- peer logging prepends strftime("%Y-%m-%d %T") unconditionally (and has
done so since before time began)

while:

- libreswan_log() prepends strftime("%b %e %T: ") when log_with_timestamp
- debug logging prepends strftime("%b %e %T: ") when log_with_timestamp

yet:

- errorno logging does not prepend anything
- exit-fatal logging does not prepend anything

I suspect 177c5e96a582f4be159f42292a23a3b36c812253 simply missed these
cases?

Andrew
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to