# azlux/log2ram

ramlog like for systemd (Put log into a ram folder)

Repository: https://github.com/azlux/log2ram
Canonical: https://ross.abutalabs.com/products/log2ram
Language: Shell
License: MIT
License Family: permissive
Topics: systemd, sd-card, raspberry-pi, log, ram-folder
Last push: 2026-02-24T09:07:33+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 69, release rhythm 29, longevity 100
- inputs: {"age_days": 3789, "days_push": 190, "days_rel": 262, "gap_med": null, "n_releases_24m": 1}
- flags: prerelease_only
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3106, forks 198 (observed 2026-08-28T04:07:43.750937+00:00)

## What it is
A shell script that mounts /var/log in RAM to avoid constant writes to disk, extending SD card life on devices like the Raspberry Pi. It periodically syncs RAM contents back to disk via cron and on shutdown.

## Use cases
- reduce sd card wear on raspberry pi
- move /var/log to ram on linux
- stop logs being written to disk constantly
- extend sd card lifespan on embedded linux
- ramlog alternative for systemd

## When to choose
- you run Linux on SD-card-based devices like Raspberry Pi
- you want a simple, systemd-compatible ramlog solution
- you need daily or shutdown-time log syncing to disk

## When to avoid
- you cannot afford losing logs on power failure
- your system generates more logs than available RAM
- you need persistent real-time log storage on disk

## Facets
- artifact type: cli-tool
- maturity: active
- function: logging, file-system, developer-tools
- domain: operating-systems, self-hosted, developer-tools
- platform: cli
- tags: systemd, raspberry-pi, sd-card-wear, ram-disk, shell-script, var-log, linux

## Member repositories
- azlux/log2ram (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:43.750937+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:46:00.636188+00:00, confidence not recorded.
  - readme: https://github.com/azlux/log2ram (fetched 2026-08-28T04:07:43.750937+00:00, sha f1ae523864f1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
