mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-25 02:08:58 +02:00
This commit is contained in:
@@ -77,7 +77,7 @@ This data enables the project maintainers to estimate how many NetBox deployment
|
|||||||
|
|
||||||
!!! tip "Dynamic Configuration Parameter"
|
!!! tip "Dynamic Configuration Parameter"
|
||||||
|
|
||||||
Default: `True`
|
Default: `False`
|
||||||
|
|
||||||
When pruning expired changelog entries (per `CHANGELOG_RETENTION`), retain each non-deleted object's original `create`
|
When pruning expired changelog entries (per `CHANGELOG_RETENTION`), retain each non-deleted object's original `create`
|
||||||
change record and its most recent `update` change record. If an object has a `delete` change record, its changelog
|
change record and its most recent `update` change record. If an object has a `delete` change record, its changelog
|
||||||
@@ -88,10 +88,6 @@ entries are pruned normally according to `CHANGELOG_RETENTION`.
|
|||||||
exempt from pruning. All other changelog records (including intermediate `update` records and all `delete` records)
|
exempt from pruning. All other changelog records (including intermediate `update` records and all `delete` records)
|
||||||
remain subject to pruning per `CHANGELOG_RETENTION`.
|
remain subject to pruning per `CHANGELOG_RETENTION`.
|
||||||
|
|
||||||
!!! warning
|
|
||||||
This setting is enabled by default. Upgrading deployments that rely on complete pruning of expired changelog entries
|
|
||||||
should explicitly set `CHANGELOG_RETAIN_CREATE_LAST_UPDATE = False` to preserve the previous behavior.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## CHANGELOG_RETENTION
|
## CHANGELOG_RETENTION
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ PARAMS = (
|
|||||||
ConfigParam(
|
ConfigParam(
|
||||||
name='CHANGELOG_RETAIN_CREATE_LAST_UPDATE',
|
name='CHANGELOG_RETAIN_CREATE_LAST_UPDATE',
|
||||||
label=_('Retain create & last update changelog records'),
|
label=_('Retain create & last update changelog records'),
|
||||||
default=True,
|
default=False,
|
||||||
description=_(
|
description=_(
|
||||||
"Retain each object's create record and most recent update record when pruning expired changelog entries "
|
"Retain each object's create record and most recent update record when pruning expired changelog entries "
|
||||||
"(excluding objects with a delete record)."
|
"(excluding objects with a delete record)."
|
||||||
|
|||||||
Reference in New Issue
Block a user