The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 151,889     Votes:  3 
Tags: log   systemd   systemd-journald  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

Title: Where is "journalctl" data stored?
ID: /2018/10/11/Where-is-_journalctl_-data-stored_
Created: October 11, 2018    Edited:  August 2, 2021
Upload: September 20, 2023    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

In addition to Muru’s answer on where data is stored there are other relevant answers.

How to increase journalctl to find previous boot logs

$ sudo mkdir -p /var/log/journal
$ sudo systemd-tmpfiles --create --prefix /var/log/journal

How to keep journalctl file size down

$ sudo journalctl --vacuum-size=200M
Deleted archived journal /var/log/journal/d7b25a27fe064cadb75a2f2f6ca7764e/system@00056515dbdd9a4e-a6fe2ec77e516045.journal~ (56.0M).
Deleted archived journal /var/log/journal/d7b25a27fe064cadb75a2f2f6ca7764e/user-65534@00056515dbfe731d-b7bab56cb4efcbf6.journal~ (8.0M).
Deleted archived journal /var/log/journal/d7b25a27fe064cadb75a2f2f6ca7764e/user-1000@1bbb77599cf14c65a18af51646751696-000000000000064f-00056444d58433e1.journal (112.0M).
Vacuuming done, freed 176.0M of archived journals on disk.
⇧ printers not working after distribution upgrade How to add /usr/bin to path after I mistakenly removed it (sudo and nano are no longer in path)  â‡©