Re: What are the use cases of journalctl --flush ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 22, 2021 at 9:27 AM <krave1986121@xxxxxxxxx> wrote:

>
> Now that the operation of flush can be done automatically when you switch from Storage=volatile to #Storage=volatile, why do we still need journalctl --flush?
>

To switch from volatile storage to persistent storage on boot as
explained in the man page. On boot /var may not be available
initially, so journald starts with /run and flush copies logs from
/run to /var and switches to persistent storage.



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux