Eliminate log warning "encountered non-rewritten url /404.xhtml"

Description

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.

Environment

None

Activity

Show:

Sean Flanigan 11 May 2017 at 07:22
Edited

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

Assignee

Reporter

Labels

Tested Version/s

Fix versions

Affects versions

Priority

More fields

Created 22 March 2017 at 06:49
Updated 27 June 2018 at 02:17
Resolved 11 May 2017 at 07:41

Flag notifications