envoyproxy/envoy

Customised time-zone format support for Envoy Proxy logs

开放

#23,260 创建于 2022年9月27日

 (4 条评论) (0 个反应) (0 位负责人)C++ (5,373 个派生)batch import
area/access_logenhancementhelp wanted

仓库指标

星标
 (27,997 个星标)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

Title: Enable envoy proxy to provide logs in customised (user preferred time zone format)

Description:

Currently Envoy proxy supports UTC time format and the ISO 8601 time zone format only. Users of the envoy proxy cannot obtain the logs in their preferred time zone format. This becomes a necessary and important feature when we are using the Envoy Proxy with other components. (Ex: another component to handle HTTP request authentication and it supports logs in our preferred time zone format. In this case the logs in there will be in the relevant time zone format and Envoy proxy related logs will be in the UTC or ISO 8601 format. When there's a particular incident(s) to be recognised, it is very difficult since logs are in different formats).

Even though envoy is capable to provide logs in ISO 8601 format the outcome will be something similar to 05:02:25+08:00. Users will consume lot of time to recognise logs relevant to the incident.

Therefore, is there an ongoing plan to enable support for the above mentioned use case ? if not can we contribute to provide support for the above feature ?

Since this massively improves readability of the envoy proxy logs update regarding the above is highly appreciated.

[optional Relevant Links:] https://github.com/envoyproxy/envoy/issues/3546

贡献者指南