Logrotate on httpAccessLog

Hi everybody, I have a question about httpAccessLog option in routers section.

I want to put a logrotate on it but unfortunately, as you can’t reload the linkerd conf, my logrotate works but linkerd still continues to write in the rotated file… Logical.

Is somebody having the same issue and how do you handle it?
Or can we have exposed in the configuration files, the same parameters we have on the command line for the main log in order to gracefully manage the log rotation?


@cmaussan Is it possible to use copytruncate in your logrotate config?

Thanks @siggy! It works!
I should have better read the man page :wink:

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