kartoza / docker-geoserver

A docker recipe for GeoServer
GNU General Public License v2.0
628 stars 423 forks source link

Cluster geoserver logs folder #563

Closed ze-ahmed closed 1 year ago

ze-ahmed commented 1 year ago

What is the bug or the crash?

Hello,

When using geoserver in clustered environnement with a shared data dir, the logs of each instance are written in log4j.appender.logfile.File = ${GEOSERVER_DATA_DIR}/geoserver.log as mentionned in build_data/log4j.properties I think that each instance should use it's file for logs and we should use log4j.appender.logfile.File = ${CLUSTER_CONFIG_DIR}/geoserver.log

Regards, Ahmed

Steps to reproduce the issue

Create a clustered environement of geoserver and start at least 2 instances

Versions

2.23.1

Additional context

No response

NyakudyaA commented 1 year ago

@ze-ahmed we welcome a pull request from you to fix the issue