diff --git a/docs/reference/deploy/master-config-reference.rst b/docs/reference/deploy/master-config-reference.rst index 86d2bd914db..13b0be411f6 100644 --- a/docs/reference/deploy/master-config-reference.rst +++ b/docs/reference/deploy/master-config-reference.rst @@ -1570,13 +1570,13 @@ Specifies configuration settings for the retention of trial logs. Number of days to retain logs for by default. This can be overridden on a per-experiment basis in the :ref:`experiment configuration `. Values should be between ``-1`` and ``32767``. The default value is ``-1``, retaining logs indefinitely. If set to ``0``, logs will be -deleted during the next cleanup. If this value is not set, ``det master cleanup-logs`` can be called -to manually run retention. +deleted during the next cleanup. ``schedule`` ============ -Schedule for cleaning up logs. Can be provided as a cron expression or a duration string. +Schedule for cleaning up logs. Can be provided as a cron expression or a duration string. If this +value is not set, ``det task cleanup-logs`` can be called to manually run retention. For example, to schedule cleanup for midnight every day: diff --git a/docs/release-notes/logging-retention.rst b/docs/release-notes/logging-retention.rst index 3d2c320be5c..6df3cfbfee7 100644 --- a/docs/release-notes/logging-retention.rst +++ b/docs/release-notes/logging-retention.rst @@ -10,4 +10,4 @@ duration format. If retention days is set to ``-1``, logs will be retained indefinitely. Conversely, setting retention days to 0 will result in logs being deleted during the next scheduled log cleanup. Additionally, administrators can manually initiate log retention cleanup - using the ``det master cleanup-logs command``. + using the ``det task cleanup-logs command``.