Linux Basics: How to use journalctl || How to Preserve System Journals

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • How to ensure the system journal will not be lost upon reboot by editing the /etc/systemd/journald.conf file.
    Configuration location:
    /etc/systemd/journald.conf
    Options for Storage parameter:
    Storage=auto (default)
    Storage=persistent - Will store logs in /var//log/journal ( will create file if it doesn’t exist)
    Storage=volatile - Will store logs in /run/log/journal

ความคิดเห็น • 5

  • @sudocat404
    @sudocat404 3 ปีที่แล้ว +7

    I am in Red hat linux course and needed help and your video really helped me! Thank you!

    • @TheSudo
      @TheSudo  3 ปีที่แล้ว +1

      Glad to support aspiring vim users!

    • @sudocat404
      @sudocat404 3 ปีที่แล้ว +2

      @@TheSudo I felt like I was the only person that loves using vim rather than nano!

    • @George-mk7lp
      @George-mk7lp 3 ปีที่แล้ว

      @@sudocat404 nano sucks

  • @linaelmasry4709
    @linaelmasry4709 2 ปีที่แล้ว

    actually i did not got meaning of storage if it is auto ,, and when i made research i found that " he disk is not writable. "auto" is similar to "persistent" but the
    directory /var/log/journal is not created if needed, so that its existence controls
    where log data goes."
    what that is meaning , please