From d5e63d830d5f14bac5cb32dc42755f152d4a7890 Mon Sep 17 00:00:00 2001 From: Adam Matthews <52178922+adamsthws@users.noreply.github.com> Date: Sun, 9 Jun 2024 14:34:16 +0100 Subject: [PATCH] Update log2ram.conf Changes to comments for setting: 'SIZE=128M' --- log2ram.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/log2ram.conf b/log2ram.conf index 1462c84..bd12f11 100644 --- a/log2ram.conf +++ b/log2ram.conf @@ -1,9 +1,12 @@ # 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 the size the log folder will reserve into the RAM. -# If it's not enough, log2ram will not be able to use ram. Check you /var/log size folder. -# The default is 40M and is basically enough for a lot of applications. +# 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. SIZE=128M