[ https://issues.apache.org/jira/browse/TS-4449?focusedWorklogId=27875&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-27875 ]
ASF GitHub Bot logged work on TS-4449: -------------------------------------- Author: ASF GitHub Bot Created on: 02/Sep/16 01:35 Start Date: 02/Sep/16 01:35 Worklog Time Spent: 10m Work Description: GitHub user zwoop opened a pull request: https://github.com/apache/trafficserver/pull/958 TS-4449 Better errors and debug output This does a few things: 1. Better error reports when parsing a config file 2. Better diagnostics when debugging expressions I also added an example to the docs, for a common use case that turns out to be non-obvious. (cherry picked from commit b905a52a4a7a0a3d05966bc1a74ee6407cf94c39) You can merge this pull request into a Git repository by running: $ git pull https://github.com/zwoop/trafficserver TS-4449-6.2.x Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/958.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #958 ---- commit 2345b0460bdba992fdfa193c2b35609c58cd4ed8 Author: Leif Hedstrom <zw...@apache.org> Date: 2016-05-17T19:12:19Z TS-4449 Better errors and debug output This does a few things: 1. Better error reports when parsing a config file 2. Better diagnostics when debugging expressions I also added an example to the docs, for a common use case that turns out to be non-obvious. (cherry picked from commit b905a52a4a7a0a3d05966bc1a74ee6407cf94c39) ---- Issue Time Tracking ------------------- Worklog Id: (was: 27875) Time Spent: 10m Remaining Estimate: 0h > header_rewrite: Improve TSDebug() statements > -------------------------------------------- > > Key: TS-4449 > URL: https://issues.apache.org/jira/browse/TS-4449 > Project: Traffic Server > Issue Type: Improvement > Components: Plugins > Reporter: Leif Hedstrom > Assignee: Leif Hedstrom > Fix For: 7.0.0 > > Time Spent: 10m > Remaining Estimate: 0h > > Right now, it can be difficult at times to understand why header_rewrite > isn't behaving as you'd expect. There are a number of places where we can > improve TSDebug(). > Also, I'm going to do a code cleanup here, to make the code more inline with > our current best practices (e.g. use if () { } consistently). -- This message was sent by Atlassian JIRA (v6.3.4#6332)