diff --git a/doc/en/user/source/production/config.rst b/doc/en/user/source/production/config.rst index a0a17f43637..420dbdb0e52 100644 --- a/doc/en/user/source/production/config.rst +++ b/doc/en/user/source/production/config.rst @@ -10,6 +10,15 @@ Logging may visibly affect the performance of your server. High logging levels a You can change the logging level in the :ref:`config_globalsettings_log_profile`. You will want to choose the ``PRODUCTION`` logging configuration, where only problems are written to the log files. +Logging configuration hardening +------------------------------- + +For production systems, it is advised to set ``GEOSERVER_LOG_LOCATION`` parameter during startup. The value may be defined as either an environment variable, java system property, or servlet context parameter. + +The location set for ``GEOSERVER_LOG_LOCATION`` has priority, causing the value provided using the Admin Console GUI or REST API to be ignored. This approach establishes a separation of responsibility between those setting up and controlling the actual machine, and those configuring the GeoServer application. + +See :ref:`logging` for more information. + Set a service strategy ----------------------