journald is part of systemd and responsible for collecting system logs

learn more… | top users | synonyms

1
vote
1answer
41 views

Howto inspect systemd system.journal from another system

I have arch linux failing on a device. The device doesn't have any screen, it doesn't respond to network. So I take its SD card, insert it in ubuntu desktop, see a fresh system.journal there and... ...
1
vote
1answer
24 views

How do I get xconsole to show the messages on a system with journald?

I would like an old style xconsole on my desktop, ie a terminal which display a scrolling list of syslog message. Does the journald system have a nice desktop app or is there a simple way to get it ...
1
vote
1answer
21 views

Rsyslog `logger` message duplicated

I just had a problem with rsyslog's imjournal module, possibly the issue described here, whereby complications with systemd's journal cause the journal to return the same data endlessly in a ...
0
votes
1answer
57 views

Configure systemd-journal-gateway on CentOS7

I installed systemd-journal-gatewayd on CentOS7 and started it. If I connect to the given port the HTTP server is answering but the response is always emtpy. Neither /entries?follow nor /entries?boot ...
2
votes
1answer
89 views

Why is my systemd journal not persistent across reboots?

I'm experiencing a very weird issue with a fresh Fedora 21 image on a Linode instance. I cannot reproduce it outside of Linode. The issue is that my systemd journal is not persistent across reboots. ...
0
votes
0answers
34 views

systemctl not restarting log with SystemMaxUse variable set

On Arch Linux ARM i am trying to keep the journal logs to a maximum but it does not seem like systemctl cares. Here is my /etc/systemd/journald.conf file: [Journal] SystemMaxUse=2M ...
1
vote
0answers
66 views

Should I use separate log files or log everything to the journal?

On my personal server I currently have multiple services (web server, mail server, etc) and some of them have their own log files while others log everything to stdout and that gets picked up by the ...
1
vote
1answer
33 views

How can I change the save location of the system journal?

(for an Arch Linux system) Is it possible to change the storage location of the system journal to a specific directory?
2
votes
1answer
89 views

How to direct the journal output of certain units to a particular file?

I've got a system with several daemons running (as systemd units) that output log information to the journal in Arch Linux. I want to direct the journal output of some of those unit files into a ...
3
votes
1answer
345 views

Output of a python script running as unit is out of order while shells seems unnafected

How would I get all outputs of systemd managed python2 script instantly into journal, just like it appears in terminal I'm on centos 7, but seems to be same on arch according to systemd manual, ...
5
votes
1answer
4k views

How display log messages from previous boots under CentOS 7?

Executing journalctl under a CentOS 7 system just prints messages generated after the last boot. The command # journalctl --boot=-1 prints Failed to look up boot -1: Cannot assign requested ...
2
votes
1answer
272 views

Missing systemd journal log

While reviewing my journal log, I find that only logs for the recent three days are present. There is only 8 lines worth of log from between September 19 and 27: # journalctl --since="2014-09-19" ...
0
votes
1answer
1k views

How to surpress audit daemon rotating log messages?

On a CentOS 7 system messages like these are logged several times a day: Sep 24 00:11:42 example.org auditd[756]: Audit daemon rotating log files Sep 24 00:26:23 example.org auditd[756]: Audit daemon ...
1
vote
1answer
76 views

How to determine a log's source process spawned from a systemd service?

I have a systemd service which starts multiple 3rd-party processes which output to standard output. Is there anyway to easily determine which logs are from specific process from the system journal? ...
1
vote
0answers
90 views

clamd randomly stops

I am using clamav in conjuction with c-icap to filter content with squid. I am also using the safebrowsing functionality of clamav to block access to bad domains. For some reason or another, clamav ...
13
votes
3answers
9k views

How to clear journalctl

I couldn't find in google any safe way to clear systemd journal. Do anyone know any safe and reliable way to do so? Added: As a reason, let's say I was experimenting with something and my logs got ...
4
votes
1answer
776 views

How to get access to the root journal for systemd?

When I execute journalctl -f -a under Fedora 20 for different users I get different results. For root I get something similar to tail -f /var/log/syslog on older systems. As normal user I get ...
1
vote
1answer
226 views

journalctl process groups

I recently tried setting up the ChrootDirectory property in sshd_config and ran into the ownership problems for chroot targets. After i have fixed the problem i noticed that syslog-ng had created log ...
1
vote
0answers
284 views

Suggestions to debug missing kernel messages from systemd journal

I have recently been playing around with a new freescale i.mx6 system. I have installed archlinuxarm on it. Strangely, all kernel messages are missing from the journal. $ sudo journalctl -k -- ...
3
votes
2answers
4k views

Log every command typed in any shell: output (from logger function to syslog-ng/journald) contains duplicate entries for commands?

I installed syslog-ng to use on my desktop (Gentoo 64bit, upgraded to systemd i.e. was OpenRC before, with Openbox and Slim only) with my normal user to log all commands I type in the shell (bash ...
6
votes
1answer
7k views

Where does `logger` log its messages to in Arch Linux?

The logger command logs an entry via syslog, which usually puts that line to some file like /var/log/messages. If I understand the documentation correctly in Arch Linux all the logging is done ...
5
votes
2answers
2k views

journalctl --verify reports corruption

I just noticed this verify option for journalctl and decided to give it a go, it's showing corruption, what might cause that? and what if anything should I do about it? should I investigate further? ...
2
votes
0answers
162 views

smartd custom logfile on systemd + journald based system

An excerpt from smartd manpage reads: -l FACILITY, --logfacility=FACILITY Uses syslog facility FACILITY to log the messages from smartd. Here FACILITY is one of local0, local1, ..., local7, or ...
5
votes
1answer
246 views

Debugging lock-up - systemd loses my logs

Ever since I have "upgraded" to systemd on Arch Linux, I keep losing logs when an unexpected lockup happens. I hit the same log-losing issue one month ago and just hit the issue again. There are also ...