LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Closed Thread
  Search this Thread
Old 07-25-2016, 12:41 PM   #1
jegadezz
LQ Newbie
 
Registered: Oct 2015
Location: Bangalore,India
Distribution: Fedora,Ubuntu
Posts: 27

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,

Storage=volatile
RateLimitInterval=30s
RateLimitBurst=1000
RuntimeMaxFileSize=2M

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 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 12:48 PM.
 
Old 07-25-2016, 01:00 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,798

Rep: Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749
Maybe next figure out how to keep only one copy of post instead of in multiple forums.
 
  


Closed Thread


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
How to keep only one Systemd Journal log in /run/log/journal jegadezz Linux - Software 3 07-27-2016 06:24 AM
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 02:44 PM
LXer: systemd: Using the journal LXer Syndicated Linux News 0 11-12-2015 07:00 AM
Display systemd journal's archived logs JKostaRibeiro Linux - Software 4 07-03-2015 03:40 AM
Automatic file deletion Azhrarn Linux - Newbie 5 08-30-2005 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:52 AM.

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