Commit Graph

4 Commits

Author SHA1 Message Date
Hugh 10a654becb feat: add log-local-time flag for local timezone in logs
Add a --log-local-time flag that configures cloudflared to use local
timezone for log timestamps instead of the default UTC.

This helps users correlate logs with local system events and other
services running in their timezone.

The flag can also be set via the TUNNEL_LOG_LOCAL_TIME environment
variable.

Closes #1530
2026-01-28 20:29:58 -08:00
Devin Carr a65da54933 TUN-9371: Add logging format as JSON
Closes TUN-9371
2025-06-16 21:25:13 +00:00
João "Pisco" Fernandes 7336a1a4d6 TUN-8914: Create a flags module to group all cloudflared cli flags
## Summary

This commit refactors some of the flags of cloudflared to their own module, so that they can be used across the code without requiring to literal strings which are much more error prone.

 Closes TUN-8914
2025-02-06 03:30:27 -08:00
Devin Carr 820a201603 TUN-7135: Add cloudflared tail 2023-04-05 10:20:53 -07:00