Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #264207 > unrolled thread
| Started by | Adam Weremczuk <adamw@matrixscience.com> |
|---|---|
| First post | 2023-12-04 13:10 +0100 |
| Last post | 2023-12-04 14:00 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.debian.user
systemd-journald log location Adam Weremczuk <adamw@matrixscience.com> - 2023-12-04 13:10 +0100
Re: systemd-journald log location Greg Wooledge <greg@wooledge.org> - 2023-12-04 13:50 +0100
Re: systemd-journald log location Vincent Lefevre <vincent@vinc17.net> - 2023-12-04 14:00 +0100
Re: systemd-journald log location Vincent Lefevre <vincent@vinc17.net> - 2023-12-04 14:00 +0100
| From | Adam Weremczuk <adamw@matrixscience.com> |
|---|---|
| Date | 2023-12-04 13:10 +0100 |
| Subject | systemd-journald log location |
| Message-ID | <HHfVT-b4fS-1@gated-at.bofh.it> |
Hi all, Is it a good idea to move it from /run/log/journal to e.g. /var/journal-log? I can't find a suitable option in /etc/systemd/journald.conf I recently increased SystemMaxUse and RuntimeMaxUse which quickly filled up all space. I didn't realise that our cloud provider decided to image the VM with only 100 MB space assigned to /run ! Not easily changeable. Debian 10.13. Regards, Adam
[toc] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2023-12-04 13:50 +0100 |
| Message-ID | <HHgyB-b4tG-7@gated-at.bofh.it> |
| In reply to | #264207 |
On Mon, Dec 04, 2023 at 11:46:23AM +0000, Adam Weremczuk wrote:
> Is it a good idea to move it from /run/log/journal to e.g. /var/journal-log?
>
> I can't find a suitable option in /etc/systemd/journald.conf
If you want to enable persistent journal storage (which by the way
has become the default in more recent Debian releases), please follow
the two steps documented in "man systemd-journald":
mkdir -p /var/log/journal
systemd-tmpfiles --create --prefix /var/log/journal
Or... check whether this already exists and contains data on your
system.
[toc] | [prev] | [next] | [standalone]
| From | Vincent Lefevre <vincent@vinc17.net> |
|---|---|
| Date | 2023-12-04 14:00 +0100 |
| Message-ID | <HHgIh-b4x0-1@gated-at.bofh.it> |
| In reply to | #264207 |
On 2023-12-04 11:46:23 +0000, Adam Weremczuk wrote: > Is it a good idea to move it from /run/log/journal to e.g. /var/journal-log? > > I can't find a suitable option in /etc/systemd/journald.conf > > I recently increased SystemMaxUse and RuntimeMaxUse which quickly filled up > all space. On my Debian machines, /run/log/journal is empty, and everything goes into /var/log/journal. I haven't changed the location. -- Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
[toc] | [prev] | [next] | [standalone]
| From | Vincent Lefevre <vincent@vinc17.net> |
|---|---|
| Date | 2023-12-04 14:00 +0100 |
| Message-ID | <HHgIh-b4x0-9@gated-at.bofh.it> |
| In reply to | #264213 |
On 2023-12-04 13:33:33 +0100, Vincent Lefevre wrote: > On 2023-12-04 11:46:23 +0000, Adam Weremczuk wrote: > > Is it a good idea to move it from /run/log/journal to e.g. /var/journal-log? > > > > I can't find a suitable option in /etc/systemd/journald.conf See the journald.conf(5) man page. :-) > > I recently increased SystemMaxUse and RuntimeMaxUse which quickly filled up > > all space. > > On my Debian machines, /run/log/journal is empty, and everything > goes into /var/log/journal. I haven't changed the location. This may be because I use Storage=persistent. -- Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web