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.
This commit is contained in:
Alloy Networks
2019-06-27 11:57:16 +03:00
committed by mDuo13
parent d36e5d5b7d
commit 852fcd13f5

View File

@@ -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._