[Geoserver-devel] [JIRA] (GEOS-9921) Log layer name(s) when a WMS GetMap request times out

Gabriel Roldan created an issue

GeoServer / ImprovementGEOS-9921

Log layer name(s) when a WMS GetMap request times out

Issue Type:

ImprovementImprovement

Affects Versions:

2.18.1

Assignee:

Gabriel Roldan

Components:

WMS

Created:

18/Feb/21 6:44 PM

Priority:

MediumMedium

Reporter:

Gabriel Roldan

When checking the logs after several concurrent WMS requests, where some failed due to rendering timeout, it’d be useful to know which layer(s) caused the timeout.

Hint, at RenderedImageMapOutputFormat:

if (timeout.isTimedOut()) {
                serviceException =
                        new ServiceException(
                                "This request used more time than allowed and has been forcefully stopped. "
                                        + "Max rendering time is "
                                        + (maxRenderingTime / 1000.0)
                                        + "s");
            }

The message could be something like ... Max rendering time is XXX. Layers: MMM, NNNN

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100154-sha1:2584958)

Atlassian logo