Add log rotation threshold configuration
This commit is contained in:
parent
31e4c6d380
commit
84f604739f
4 changed files with 26 additions and 1 deletions
|
@ -386,6 +386,23 @@
|
|||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Log Rotation Threshold:</td>
|
||||
<td>
|
||||
<span class="config-string-field" binding="config.ACTION_LOG_ROTATION_THRESHOLD"
|
||||
pattern="[0-9]+(m|w|h|d|s)"></span>
|
||||
<div class="help-text">
|
||||
The number of days after which to archive action logs to storage. Must be expressed in a duration string form: <code>30m</code>, <code>1h</code>, <code>1d</code>, <code>2w</code>.
|
||||
</div>
|
||||
<div class="help-text">
|
||||
Note: The rotation threshold should be considered a balancing act between user history and size of database.
|
||||
</div>
|
||||
<div class="help-text">
|
||||
Larger time windows will result in more logs, but give users more history to view.
|
||||
Anything less than <code>2w</code> is not recommended.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
Reference in a new issue