From 852fcd13f598ed30a38eb4ef0e83359ecfab465f Mon Sep 17 00:00:00 2001 From: Alloy Networks <45832257+alloyxrp@users.noreply.github.com> Date: Thu, 27 Jun 2019 11:57:16 +0300 Subject: [PATCH] Update logrotate.md Starting with `rippled` 1.3, the `/etc/logrotate.d/rippled` script will be installed by the DEB and RPM packages. Modifications made to reflect that. --- .../logging-and-data-management-methods/logrotate.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.md index 20e8259175..b8772c64c3 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.md @@ -27,6 +27,8 @@ The following script is a sample that can be created as `/etc/logrotate.d/ripple You can configure parameters such as `minsize` and `rotate` depending on the amount of logs you keep. Use the `log_level` setting in your `rippled.cfg` file to configure how verbose your server's logs are. This sample script is based on standard `log_level` and will store approximately 2 weeks worth of logs in a compressed format. +Starting with `rippled` 1.3, the script `/etc/logrotate.d/rippled` will be automatically installed by the DEB and RPM packages. You can make modifications to this as required. Your modifications will not be overwritten on package upgrades. + **Note:** You should have only one system logrotate script per application. Please ensure that you do not have any other log rotation that handles the same directory. _The `logrotate` method is an [admin method](admin-rippled-methods.html) that cannot be run by unprivileged users._