Score:0

how to change location of journalctl data?

ma flag

I would like to change the place the systemd data is stored.

It seems like they are being written to /var/log/journal

I guess I could stop systemd-journald.service and then symlink the directory - but there must be a better "official" way. I see other people have asked kind of similar questions, but they are quite old. I'm sure there is now a way to change this, if not they need to program that.

Bit nervous I will brick the server, as it is in a DC.

Score:1
ma flag

I just went for it.

systemctl stop systemd-journald.service
mv /var/log/journal /mnt/big12/
ln -s /mnt/big12/journal /var/log/journal
systemctl start systemd-journald.service

Only thing is, running processes stopped logging... once I restarted they logged again - so that is the only drawback AFAIK

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.