brbzull0 opened a new pull request, #12267:
URL: https://github.com/apache/trafficserver/pull/12267
For instance, with the following config:
```yaml
records:
http:
per_server:
connection:
match: both*ioajs
new:
field: 11:
```
We will get a warning log with the line and the column from the records.yaml
file exactly where the error was detected.
In the above example, match and new.field have different sort of errors but
both now log the line+column.
```
WARNING: We have found the following issues when reading the records node:
Warn: Warn: proxy.config.http.per_server.connection.match - Validity
Check error at line=37, col=9. Pattern '^(?:ip|host|both|none)$' failed against
'both*ioajs'. Default value will be used
Warn: Ignoring field 'field'
[proxy.config.http.per_server.connection.new.field] at line=39, col=11. Not
registered and Unknown tag type '?
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]