[ 
https://issues.apache.org/jira/browse/TS-4740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15421580#comment-15421580
 ] 

Quinn Lertratanakul commented on TS-4740:
-----------------------------------------

Can someone direct me to where these checks should be made?

> Produce a warning if old metrics config is still in place
> ---------------------------------------------------------
>
>                 Key: TS-4740
>                 URL: https://issues.apache.org/jira/browse/TS-4740
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Metrics
>            Reporter: Leif Hedstrom
>              Labels: newbie
>             Fix For: 7.0.0
>
>
> As of v7.0.0, the metrics config is migrated from XML to Lua. It might be 
> nice that upon loading the Lua file, if it also sees the old XML file, it'd 
> produce a warning. Something like
> {code}
>     if (exists(stats.config.xml)) { /* Pseudo code, obviously do it right */
>         Warning("Ignoring the old stats.config.xml configuration, loading 
> metrics.config instead");
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to