Eliminate log warning "encountered non-rewritten url /404.xhtml"
Description
Environment
None
Activity
Show:
Sean Flanigan 11 May 2017 at 07:22Edited
I have eliminated the unwanted logging for the moment by changing the health-check URL from /info/?dswid=1
to /info?dswid=1
.
The rewrite problem with other 404s is a separate issue, but fixed by https://github.com/zanata/zanata-platform/pull/247 (coming in Zanata 4.2).
Ready for Release
Details
Details
Assignee
Sean Flanigan
Sean FlaniganReporter
Sean Flanigan
Sean FlaniganLabels
Tested Version/s
None
Fix versions
Affects versions
Priority

More fields
Time tracking
More fields
Time trackingCreated 22 March 2017 at 06:49
Updated 27 June 2018 at 02:17
Resolved 11 May 2017 at 07:41
Deployments on AWS seem to trigger this warning on every health check (apparently when fetching
/info/?dswid=1
):WARN [org.zanata.util.UrlUtil] (default task-31) encountered non-rewritten url /404.xhtml with query string dswid=1
Something seems to be causing a 404, which is a problem itself, but this bug is about the mishandling of that 404.