How can I change the save location of the system journal?

(for an Arch Linux system) Is it possible to change the storage location of the system journal to a specific directory?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

Assuming you mean the location that journald writes to, I think not. The configuration file for journald is /etc/systemd/journald.conf, and the documentation for it doesn’t list a way to choose locations. You might be able to work around it by making /var/log/journal a link to somewhere else, or mount something on that directory.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply