Skip to content

Commit

Permalink
Update log2ram.conf
Browse files Browse the repository at this point in the history
Update to comment for setting: 'SIZE='
  • Loading branch information
adamsthws committed Jun 9, 2024
1 parent 794cdcc commit 136d2c1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions log2ram.conf
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 136d2c1

Please sign in to comment.