Questions tagged [journalctl]
51 questions
4
votes
0 answers
journalctl prints the entire system log when following
[root@utility ~]# uname -rv
2.6.32-042stab093.5 #1 SMP Wed Sep 10 17:39:49 MSK 2014
[root@utility ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[root@utility ~]# journalctl --version
systemd 208
+PAM +LIBWRAP +AUDIT +SELINUX…

int_541
- 151
- 3
3
votes
0 answers
How can I ask journalctl to show records for all units except one?
journalctl -u ssh prints all records associated with the ssh unit. But how can I get all records not associated with the ssh unit? Things that don't work: journalctl -u '!ssh'; journalctl '!_SYSTEMD_UNIT=ssh'; journalctl '_SYSTEMD_UNIT!=ssh'.…

smammy
- 432
- 3
- 7
3
votes
0 answers
Windows 10 KVM guests cause Ubuntu 20.04 host to crash (revised)
I got extremely confused and decided to re-write the question from scratch, so if some of the comments do not make sense, that is why. Apoplogies to anyone whose time I wasted.
I am having a problem with my entire system freezing when using KVM…

Stonecraft
- 313
- 3
- 4
- 18
2
votes
1 answer
How does SystemMaxUse on journalctl work?
I'm using journalctl for system logging. I want to have a log file to check what is happening with the process I'm running at anytime.
So I'm configuring the journald.conf file like this:
[Journal]
Storage=persistent
As I don't want the log file to…

carlosabcs
- 121
- 4
2
votes
0 answers
Change logging priority of UFW
As far as I can tell (through journalctl -p 4) UFW logs all blocked connections as warnings. I'd really like to be able to use that log level for things I actually might want to respond to. Is there any way (short of turning off UFW logging…

Thom
- 121
- 1
2
votes
1 answer
Why there is no journalctl in my centos 6.6 box and how to install/enable it?
I have various environment on CentOS, the hosts on CentOS7+ all come with journalctl command so if I need to view system log I can do so.
However on another box it is CentOS6.6, I get error of the command is not found.
Can anyone enlighten on how to…

mdivk
- 135
- 2
- 8
2
votes
0 answers
Arch Linux journalctl: how to increase logging size?
I have a web and email server based on Arch Linux.
I have been trying for a long time to keep enough log entries in journal, but unfortunately it doesn't work. I have no problem with other servers.
Of course, I set up Storage = persistent and…

Laszlo Malina
- 168
- 2
- 10
2
votes
0 answers
Journalctl seems to be ignoring since and until
I'm trying to get the logs of a problem that's been happening for over a week by this point. I'm trying to use journalctl to print the logs but it doesn't seem to give me anything more or less than the past 5 days. I've tried using since/until but…

Thomas
- 225
- 2
- 9
2
votes
1 answer
journalctl only refreshing after restarting systemd service?
I have a systemd service with gunicorn. I have a print statement in a function.Problem is that, journalctl does not show the print output when i call the function but it shows the output after refresing the systemd service unit. Should it behave…

r4v1
- 121
- 3
2
votes
1 answer
Truncated/missing logs with systemd on Ubuntu 16.04
I am using Ubuntu 16.04 server, have created a basic nodejs script and packaged it in a simple systemd service.
Content of api.service at…

quentinadam
- 321
- 2
- 12
2
votes
3 answers
combined local and remote journald logs
I am using journald forwarding using systemd-journal-remote (local site) and systemd-journal-upload (remote site) on centos7 with systemd-219 on both machines.
Local journals are stored in /var/log/journal//*.journal whereas remote…

resi
- 123
- 1
- 5
2
votes
1 answer
journalctl does not provide colored output
I'm on Ubuntu 20.04, and journalctl will not provide colored output for my logs. I verified, and those logs do have colored output if not piped through journalctl. I configured my terminal as xterm-256color. I have tried the following:
I tried…

PSS
- 121
- 2
2
votes
0 answers
Service not logging to journalctl
I have a user service which is placed under /home//.config/systemd/user/.service
When I perform systemctl --user status I have the desired output, for example:
@:~$ systemctl --user status
●…

Daniel
- 21
- 1
- 3
2
votes
1 answer
journalctl --list-boots is not listing all boots
I have a Raspberry Pi running a custom Yocto image and it's using systemd-journald for logging.
I'm wondering why there is a difference between:
root@raspberrypi4:~# journalctl -o verbose | grep -e '_MACHINE_ID\|_BOOT_ID' | sort -u
…

evading
- 123
- 6
2
votes
1 answer
Finding out why service being terminated
Using journalctl -u docker I noticed
May 30 10:01:43 xxx systemd[1]: Stopping Docker Application Container Engine...
...
docker specific error log in between
...
May 30 10:01:51 xxx systemd[1]: Stopped Docker Application Container Engine...
I saw…

kAldown
- 161
- 1
- 1
- 7