You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "brbzull0 (via GitHub)" <gi...@apache.org> on 2025/06/02 16:03:47 UTC
[PR] Include records.yaml line and column in the logs when error is found. [trafficserver]
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Include records.yaml line and column in the logs when error is found. [trafficserver]
Posted by "brbzull0 (via GitHub)" <gi...@apache.org>.
brbzull0 merged PR #12267:
URL: https://github.com/apache/trafficserver/pull/12267
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Include records.yaml line and column in the logs when error is found. [trafficserver]
Posted by "cmcfarlen (via GitHub)" <gi...@apache.org>.
cmcfarlen commented on PR #12267:
URL: https://github.com/apache/trafficserver/pull/12267#issuecomment-2936549693
Cherry-picked to 10.1.x branch
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Include records.yaml line and column in the logs when error is found. [trafficserver]
Posted by "brbzull0 (via GitHub)" <gi...@apache.org>.
brbzull0 commented on PR #12267:
URL: https://github.com/apache/trafficserver/pull/12267#issuecomment-2931831543
[approve ci autest 1]
--
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: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org