packet:bpq_logging_reduction
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| packet:bpq_logging_reduction [2026/01/08 00:12] – [Writing all linbpq packets to syslog] g5rkt | packet:bpq_logging_reduction [2026/03/26 06:54] (current) – g5rkt | ||
|---|---|---|---|
| Line 43: | Line 43: | ||
| }</ | }</ | ||
| - | ====Newer versions of Raspberry Pi OS (i.e. Debian 12)==== | + | ====Newer versions of Raspberry Pi OS (i.e. Debian 12+)==== |
| SystemD' | SystemD' | ||
| Line 71: | Line 71: | ||
| and optionally delete the old journal files | and optionally delete the old journal files | ||
| - | < | + | < |
| There will still be some stuff ending up in /var/log - on a Debian system this will be logs from apt, dpkg etc, and other packages (ginx, mosquitto etc) by default are configured to write directly to it, but all syslogging will now be in RAM and sizes kept under control. As the syslog is in RAM rebooting the Pi / if the Pi crashes all the logs will be lost. If you want persistent log storage (for example on a Pi 5 with an NVMe SSD) then you can get some control by vacuuming / configuring journald - that's beyond the scope of "save your SD card" so there' | There will still be some stuff ending up in /var/log - on a Debian system this will be logs from apt, dpkg etc, and other packages (ginx, mosquitto etc) by default are configured to write directly to it, but all syslogging will now be in RAM and sizes kept under control. As the syslog is in RAM rebooting the Pi / if the Pi crashes all the logs will be lost. If you want persistent log storage (for example on a Pi 5 with an NVMe SSD) then you can get some control by vacuuming / configuring journald - that's beyond the scope of "save your SD card" so there' | ||
packet/bpq_logging_reduction.txt · Last modified: by g5rkt
