Skip to content

Commit

Permalink
[GEOS-11141] Add section about logging configuration hardening (geose…
Browse files Browse the repository at this point in the history
…rver#7144)

* Add information about logging configuration hardening

---------

Authored-by: Ángel Heredia
  • Loading branch information
Anthares101 authored Oct 9, 2023
1 parent ba68713 commit 9a0e25d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/en/user/source/production/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------------

Expand Down

0 comments on commit 9a0e25d

Please sign in to comment.