How can I configure log rotation policy for HTTP2 access logs

Hi,
I am relying on HTTP2 access logs. Thank you for releasing it in 1.3.6
Now, I need help to configure log file rotation policy in Linkerd config.

My guess - Possible code to enable same: https://github.com/linkerd/linkerd/blob/d32350b4a388a7a53468d934b03dbc6848b4c842/linkerd/protocol/h2/src/main/scala/io/buoyant/linkerd/protocol/h2/H2AccessLogger.scala#L67

I am also aware that twitter logging util does support log file rotation policy.
I am not sure how to specify that in Linkkerd config file?

Appreciate your help.

Cheers,
Dipesh

Hi @DipeshMitthalal,

Linkerd’s config files don’t currently allow the log rotation policy to be configured. However, it shouldn’t be too tricky to make the log rotation policy configurable.

If this is a feature you want to seeing, we’d love to accept a pull request adding it! If you’re not interested in writing a PR, please feel free to open a feature request issue on GitHub, and hopefully someone else will be able to implement it soon.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.