Address startup warning File option not set for appender [geoserverlogfile]

Description

On startup we have the following:

File option not set for appender [geoserverlogfile] log4j:WARN Are you using FileAppender instead of ConsoleAppender?

I am annoyed by warnings that serve no purpose.

Initially looked at using appender filters, as the standard way to ignore common expected warnings (but this occurs too soon and I cannot figure out how to add a filter to LogLog). Ended up noticing I could just edit the properties before using them to configure log4j to squash this warning.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Components

Priority

Created October 4, 2021 at 5:05 AM
Updated October 7, 2021 at 5:44 PM
Resolved October 7, 2021 at 5:44 PM