You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C-SDK logs ss.mmm offset from process startup which is fine when consumed by journald or a container runtime that computes human-friendly timestamps. There are other situations when a timestamp is needed, such as when the tunneler is running attached to stdin (interactively) for troubleshooting purposes.
It is possible to override this by inheriting env var ZITI_TIME_FORMAT=utc, but we need to meet the tunneler user's expectation to configure logging with the CLI, not only an env var. Environment variables are not readily discovered by the CLI user.
When stdin is a tty ZET should set ZITI_TIME_FORMAT=utc for C-SDK by default. Additionally, ZET should honor short option -u and long option --utc, emulating GNU Date, to emit UTC timestamps instead of or in addition to seconds since startup.
The text was updated successfully, but these errors were encountered:
This problem still exists in 0.22.20. ziti-edge-tunnel run and run-host emit seconds since startup when stdin is a tty, which is not useful and there's no possibility of the seconds offset being interpreted as a datetime.
ZET should emit a local or UTC datetime when stdin is a tty.
C-SDK logs ss.mmm offset from process startup which is fine when consumed by journald or a container runtime that computes human-friendly timestamps. There are other situations when a timestamp is needed, such as when the tunneler is running attached to stdin (interactively) for troubleshooting purposes.
It is possible to override this by inheriting env var
ZITI_TIME_FORMAT=utc
, but we need to meet the tunneler user's expectation to configure logging with the CLI, not only an env var. Environment variables are not readily discovered by the CLI user.When stdin is a tty ZET should set
ZITI_TIME_FORMAT=utc
for C-SDK by default. Additionally, ZET should honor short option-u
and long option--utc
, emulating GNU Date, to emit UTC timestamps instead of or in addition to seconds since startup.The text was updated successfully, but these errors were encountered: