[Geoserver-devel] [JIRA] (GEOS-10685) Handle or suppress normal startup warnings and info messages

Jody Garnett created an issue

GeoServer / TaskGEOS-10685

Handle or suppress normal startup warnings and info messages

Issue Type:

TaskTask

Affects Versions:

2.22-RC

Assignee:

Unassigned

Components:

Main, Security

Created:

29/Sep/22 8:14 PM

Priority:

LowLow

Reporter:

Jody Garnett

Startup is mostly using CONFIG logging message now, but there are a few WARN and INFO messages that can be cleaned up.

  • CONFIG is used for GeoServer configuration, even if it is configured by defaults from an empty GEOSERVER_DATA_DIR
  • Save WARN for topics that user can address rather than expected functionality of GeoServer.
  1. Usual message when trying to configure without logging.xml - I would like this to be quite if it is expected
11:00:54 CONFIG [geoserver.logging] - Logging policy: Log4J2
11:00:54 ERROR  [geoserver.logging] - Could not reconfigure LOG4J loggers
com.thoughtworks.xstream.io.StreamException:
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:126)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103)
at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:63)
at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54)
at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:65)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1293)
at org.geoserver.config.util.XStreamPersister.load(XStreamPersister.java:715)
at org.geoserver.logging.LoggingStartupContextListener.getLogging(LoggingStartupContextListener.java:118)
  1. gce.imagemosaic warning about geotiff - can this be fixed in imageio-ext?
11:01:02 WARN   [gce.imagemosaic] - Unable to set ordering between tiff readers spi
  1. Usual warnings from empty security folder. Not sure where accessDenied.jsp comes from?
11:01:03 WARN   [geoserver.security] - Cannot find: /accessDenied.jsp
11:01:03 WARN   [geoserver.security] - Cannot find: /accessDenied.jsp
11:01:03 WARN   [geoserver.security] - Cannot find: /accessDenied.jsp
11:01:03 WARN   [geoserver.security] - Cannot find: /accessDenied.jsp

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#100207-sha1:ee9e30a)

Atlassian logo