Skip to content

Update log properties documentation #17630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions docs/src/main/sphinx/admin/properties-logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,21 @@ detailed in :ref:`running-trino`. Alternatively, you can write logs to separate
the process (typically running next to Trino as a sidecar process) via the TCP
protocol by using a log path of the format ``tcp://host:port``.

``log.max-history``
^^^^^^^^^^^^^^^^^^^

* **Type:** :ref:`prop-type-integer`
* **Default value:** ``30``

The maximum number of general application log files to use, before log
rotation replaces old content.

``log.max-size``
^^^^^^^^^^^^^^^^
* **Type:** :ref:`prop-type-data-size`
* **Default value:** ``100MB``

The maximum file size for the general application log file.

``log.max-total-size``
^^^^^^^^^^^^^^^^^^^^^^

* **Type:** :ref:`prop-type-data-size`
* **Default value:** ``1GB``

The maximum file size for all general application log files combined.

``log.compression``
^^^^^^^^^^^^^^^^^^^

Expand Down