Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-25-2016, 01:39 PM   #1
Registered: Oct 2015
Location: Bangalore,India
Distribution: Fedora,Ubuntu
Posts: 32

Rep: Reputation: Disabled
Angry How to keep only one Systemd Journal log in /run/log/journal

Hi all,

Please find the systemd-journal.config below,


Here I'm giving a Storage= volatile, So the systemd-journal log will be stores in /run/log/journal. And I have only 4MB space for /run Partition. And dlt-system taking the SYS logs from /run/log/journal and updates in dlt-viewer. Once the system.journal file reaches max 2Mb Size then it will create a new file with same name system.journal and the older file will be like this
system@4a74c729c0a24e968d09e53717b21...979e290.journal. From here my problem starts, Once the second file will be generated dlt-system not updating the logs in dlt-viewer. Now My question is possible to keep only one sys journal file in /run/log/journal folder. Seems like dlt-system not able to read if /run/log/journals has multiple .journal files. I have tried all the parameter which is available for systemd-journal.config But no luck. Any comments or suggestions are highly appreciated.

Thank you in advance,

Last edited by jegadezz; 07-25-2016 at 02:09 PM.
Old 07-25-2016, 02:54 PM   #2
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
How did you get on with RuntimeMaxFiles=1?
Old 07-26-2016, 03:27 AM   #3
LQ Newbie
Registered: Jul 2016
Posts: 1

Rep: Reputation: Disabled
Originally Posted by hydrurga View Post
How did you get on with RuntimeMaxFiles=1?
This seems to be not working any idea??
Old 07-27-2016, 07:24 AM   #4
Registered: Aug 2015
Posts: 54
Blog Entries: 1

Rep: Reputation: Disabled
You can either delete your old logs by using sudo journalctl --vacuum-size=1G or limit journal expansion by editing /etc/systemd/journald.conf file.

For more details please refer to Journal Maintenance section in this link -


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access full journalctl from script via systemd service even though user is in systemd-journal group iwtbf Linux - Newbie 0 02-19-2016 03:44 PM
LXer: systemd: Using the journal LXer Syndicated Linux News 0 11-12-2015 08:00 AM
Display systemd journal's archived logs JKostaRibeiro Linux - Software 4 07-03-2015 04:40 AM
LXer: Systemd journal provides more informative messages LXer Syndicated Linux News 0 11-19-2012 10:41 AM
Automatic file deletion Azhrarn Linux - Newbie 5 08-30-2005 06:01 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration