From 136d2c19cd13aebc48dddff1b0d544005e7cf271 Mon Sep 17 00:00:00 2001 From: Adam Matthews <52178922+adamsthws@users.noreply.github.com> Date: Sun, 9 Jun 2024 15:47:50 +0100 Subject: [PATCH] Update log2ram.conf Update to comment for setting: 'SIZE=' --- log2ram.conf | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/log2ram.conf b/log2ram.conf index fcee53b..e6f7145 100644 --- a/log2ram.conf +++ b/log2ram.conf @@ -1,13 +1,11 @@ # Configuration file for Log2Ram (https://github.com/azlux/log2ram) under MIT license. # This configuration file is read by the log2ram service -# Size for the ram folder, it defines how much space is reserved in the RAM for the logs. -# Ensure 'SIZE=' is larger than your /var/log directory. -# - (If not enough is reserved, log2ram will fail to start). -# Ensure logrotate is set to keep your /var/log directory from growing too large. -# - (If your /var/log directory grows larger than 'SIZE=', new logs entries can't be written). -# The default of 128M is adequate for a lot of applications. -# You will need to increase it if you have a server and a lot of log for example. +# Specify the amount of RAM reserved for storing logs. This setting determines the maximum size of the RAM folder. +# Ensure 'SIZE=' is set larger than the current size of your /var/log directory to prevent startup failures. +# Also, configure logrotate to manage log growth and prevent the /var/log directory from exceeding this reserved size. +# The default setting of 128M suffices for many typical applications, but you may need to increase it for +# servers or systems that generate extensive logging. SIZE=128M # Select the log syncing method between disk and RAM: