GeoServer Logs page fails to load if log is missing

Description

If the geoserver.log is missing, the GeoServer Logs page gives the following message.

To reproduce:

  • turn off logging by setting log4j.rootLogger=OFF, stdout in a logging properties file

  • nuke the geoserver.log

  • load the GeoServer Logs page

Environment

Amazon Linux AMI

Status

Assignee

Andrea Aime

Reporter

Gnafu

Triage

Fix versions

Affects versions

Components

Priority

Medium
Configure