ramlog acts as a system daemon that maintains log files in memory instead of hard disk while the system is running. On startup, it creates a ramdisk, copies files from /var/log into the ramdisk, and mounts the ramdisk as /var/log. All logs after that will be updated on the ramdisk. When shutting down or restarting the service, it saves log files back to hard disk. This service drastically reduces the frequency of hard disk usage, which can be useful when the system runs on battery or uses flash memory instead of a hard disk.
|Tags||Systems Administration Logging Boot|
|Operating Systems||POSIX Linux|
|Implementation||Unix Shell bash|
Release Notes: Support for tmpfs and ramfs was added. tmpfs is now used by default. Support for kernel ramdisk has also been retained. Enable and disable options were added. The startup algorithm was significantly improved. Log synchronization was improved by using rsync. A Plymouth workaround was implemneted. A workaround for daemons not stopping was added. /etc/sysconfig/ramlog and /etc/default/ramlog configuration files were added for RPM and Deb systems. A verbose mode was added and is turned on by default.
Release Notes: Support for Ubuntu was added. Support for SELinux was added. ramlog now saves security context of all files in /var/log. Logs are saved to HDD even if stopping is not successful. A logging feature was added (and it is on by default). A .deb package was created for Ubuntu. Some bugs were fixed.
No changes have been submitted for this release.