|
@@ -1,13 +1,11 @@ |
|
|
# Configuration file for Log2Ram (https://github.com/azlux/log2ram) under MIT license. |
|
|
# Configuration file for Log2Ram (https://github.com/azlux/log2ram) under MIT license. |
|
|
# This configuration file is read by the log2ram service |
|
|
# 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 |
|
|
SIZE=128M |
|
|
|
|
|
|
|
|
# Select the log syncing method between disk and RAM: |
|
|
# Select the log syncing method between disk and RAM: |
|
|