Questions tagged [systemd-journald]
For questions pertaining to systemd-journald, a system service that collects and stores logging data. Use this tag for questions about systemd-journald itself, using systemd-journald, or questions about issues arising from collecting and storing logging data in systems where this task is performed by systemd-journald.
294
questions
2
votes
2
answers
546
views
How often does systemd journal collect/read logs from sources
I have a program that generates several logs per second and I want to track these logs in real time using the journal, but it seems there is delay for the journal to collect/read logs from the source. ...
0
votes
1
answer
19
views
omit command output on systemd-run
when running systemd-run --pty --same-dir --wait --service-type=exec I get all the command output in journal. While nice, it is not something I want/can afford all the time.
for example, if I want ...
0
votes
0
answers
17
views
JournalD leaving 4GB free while I have specifically configured to leave 20% that is around 25GB?
I have configurad journald with following conf,
[test@mcmillan ~]# cat /etc/systemd/journald.conf
[Journal]
Storage=persistent
Compress=True
RateLimitInterval=1s
RateLimitBurst=10000
SyncIntervalSec=...
0
votes
0
answers
19
views
Systemd instance units with dynamic parameters
I have a server that continuously deploys new version of the application.
systemctl start [email protected] # start new version
systemctl stop [email protected] # shutdown old processes
Is ...
1
vote
0
answers
25
views
Systemd logging to journal stops after service outputs very long lines
I have a process that outputs its logs to standard error, and I'm running it as a systemd service with Type=simple. I have left the StandardError and StandardOutput fields at their default values (...
0
votes
0
answers
17
views
Is it impossible to limit journalctl to a user service?
I am specifically NOT asking about how a user can look at their own logs, I am asking how at root level, where I see user service logs with a plain call to sudo journalctl --output with-unit like so:
...
0
votes
0
answers
38
views
How to force systemd unit to log into journal instead of syslog
For some time now I'm trying to force systemd unit I created to log command output to systemd journal. It logs only to syslog. Here is my config:
$ cat /etc/systemd/system/sf-synchronize.service
[...
0
votes
0
answers
47
views
finding more information on journald failure
System locked up with console full of
systemd-journald[123]: Failed to write entry to /var/log/journal/b5...1c/user-100.journal (29 items, 820 bytes) despite vacuuming, ignoring: input/output error (...
7
votes
2
answers
846
views
Is it possible to dynamically refresh journalctl with less?
I'm using less to view my journalctl logs because it's more convenient. It doesn't clutter the console window with logs after you exit less and you can scroll using your mouse wheel.
journalctl --unit ...
2
votes
1
answer
122
views
How to continue journal output to serial console after dev-mqueue.mount is started
So far I managed to get the kernel & systemd to output the first log messages from booting on the system’s serial port. Further, after the boot process is (nearly) completed, journald continues to ...
0
votes
0
answers
37
views
How can I force systemd journalctl to output log in sequential order in case of frequent clock changes?
I have a standalone debian-based system that -- for the simplicity -- can be taken as not having RTC. The system clock can be set during operation, both forwards and backwards.
I thought that ...
0
votes
0
answers
47
views
Dnsmasq - Do not log certain queries/websites?
I have dnsmasq logging to my systemd-journal on a machine hosting an apache server. The server is quite busy, causing around 600.000 log lines to accumulate within 4-5 hours. Out of these logs, 94% ...
1
vote
1
answer
94
views
ping output sporadically missing (labeled as wrong unit) in journal of systemd service
I am using ping in a script, which runs in a systemd service unit. The output from ping is sometimes (often) missing in the unit's journal. I.e., it is missing from journalctl --user -u MyUnit.
Note ...
0
votes
0
answers
161
views
is it possible to prevent rsyslog messages going to systemd-journal log and how?
I have an iptables rule that is logging some of my networks activities into a log file using the jump LOG rule.
I filter the events to go to a specific file using the following rsyslog configuration ...
0
votes
1
answer
63
views
Trying to periodically backup /var/log while using journald
I'm trying to periodically backup my /var/log directory, but journald manages the logging on my system. Is the correct way to just tar -cf log.tar /var/log?
The way journald saves it's log files in /...