trafficcontrol icon indicating copy to clipboard operation
trafficcontrol copied to clipboard

add t3c-tail sub-app

Open jpappa200 opened this issue 3 years ago • 0 comments

Adds the sub-app t3c-tail which can be used to tail a file, usually a log file. Reads json input from stdin. will mainly be used by t3c-apply to watch diags.log after trafficserver restart or reload. it can be useful to see what happened in diags.log without having to tail the file in a separate window. this will also be logged with the t3c log output.


Which Traffic Control components are affected by this PR?

  • Traffic Control Cache Config (t3c, formerly ORT)

What is the best way to verify this PR?

Build Traffic Control Cache Config and install. run t3c-apply in syncds or badass mode. verify that after reload/restart diags logs messages are displayed.

If this is a bugfix, which Traffic Control versions contained the bug?

PR submission checklist

jpappa200 avatar Jul 13 '22 19:07 jpappa200