Skip to content

Commit c3b1f48

Browse files
committed
DOC-12634 Fixed prunage units from minutes to seconds
1 parent 6db8169 commit c3b1f48

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/rest-api/pages/rest-auditing.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ When auditing is enabled, all _non-filterable_ events are audited; and none can
7272
* The `logPath` parameter specifies the pathname of the directory to which the `audit.log` file is written.
7373

7474
[#pruneAge]
75-
* The `pruneAge` parameter sets the number of minutes Couchbase Server keeps rotated audit logs.
75+
* The `pruneAge` parameter sets the number of seconds Couchbase Server keeps rotated audit logs.
7676
When set to the minimum value 0 (the default), Couchbase Server does not prune rotated audit logs.
77-
If set to a value greater than 0, Couchbase Server deletes rotated audit logs that are older than this value in minutes.
78-
The maximum value for this setting is 35791394 (4085 years).
77+
If set to a value greater than 0, Couchbase Server deletes rotated audit logs that are older than this value in seconds.
78+
The maximum value for this setting is 35791394 (1 year, 45 days, 15 hours, 29 minutes, and 54 seconds).
7979

8080
* The `rotateInterval` parameter specifies the maximum time-period that is to elapse between log-rotations.
8181
Its value must be a number of seconds, in the range of 900 (15 minutes) to 604800 (7 days), inclusive.
@@ -138,7 +138,7 @@ Each member is an object of two elements, which are the _name_ of the disabled u
138138

139139
* _logPath_: The current value of the pathname to which the `audit.log` file is being written.
140140

141-
* _pruneAge_: The number of minutes Couchbase Server keeps rotated audit logs. The value `0` means Couchbase Server does not automatically prune these logs.
141+
* _pruneAge_: The number of seconds Couchbase Server keeps rotated audit logs. The value `0` means Couchbase Server does not automatically prune these logs.
142142

143143
* _rotateInterval_: An integer that is the number of seconds in the maximum time-period on whose elapse the log file is rotated.
144144

0 commit comments

Comments
 (0)