[ https://issues.apache.org/jira/browse/TS-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603140#comment-14603140 ]
ASF GitHub Bot commented on TS-2150: ------------------------------------ Github user bryancall commented on the pull request: https://github.com/apache/trafficserver/pull/229#issuecomment-115746373 I think it would be better at the creation of the LogField store the index into the milestone array instead of looking it up every time you log. You can create a MilestoneLogFiled and have LogField as the base class if you don't want add a index to every LogField. > Add Milestone log tags > ---------------------- > > Key: TS-2150 > URL: https://issues.apache.org/jira/browse/TS-2150 > Project: Traffic Server > Issue Type: New Feature > Components: Logging > Reporter: Leif Hedstrom > Assignee: John Rushford > Labels: yahoo > Fix For: sometime > > > We have a notion of milestones in the core, and plugin APIs > (TSHttpTxnMilestoneGet() ). It'd be useful to expose these milestone timers > as a log tag, something like: > {code} > %<{UA_BEGIN}mtms> > {code} > mtms is just an example / suggestion, "MilestoneTimeMilliSecond", we can make > it whatever we like. -- This message was sent by Atlassian JIRA (v6.3.4#6332)