Skip to main content

All Questions

Tagged with
2 votes
1 answer
1k views

Configuring journald.service to log its own debug_log messages

I have a Linux server that is rotating its logs every hour or so, and I'd like to understand why. I noticed that journald itself contains debug logging, like this, that might explain it. But I checked ...
Jason Orendorff's user avatar
6 votes
1 answer
21k views

Journalctl shows logs from about last hour only

I have a problem with journalctl logs, which doesn't show me logs older than about one hour. First log entry is from about one hour ago, instead of 2 days as requested. $ date -u Wed May 13 08:59:21 ...
Jakub Kuszneruk's user avatar
1 vote
0 answers
55 views

How to check for screen activation in system logs

I have a Debian 10 (Buster) installed, and I was wondering how to check in the system logs when the screen was activated. The way I configured the OS is that I have turned off in the power manager ...
user421473's user avatar
2 votes
1 answer
2k views

Is there any way to delete logs of a specific systemd service in linux?

After searching a bit, all I got is journalctl --vacuum-time.... However, this command doesn't delete service logs. So, how can I safely delete logs of a specific service from linux?
William's user avatar
  • 601
1 vote
1 answer
2k views

Redirecting the output of service in Ubuntu to Log files

I am on Ubuntu 16.04 and deployed a service in /etc/systemd/system. The service file booster.service contains [Unit] Description = booster After = network.target [Service] ExecStart =/opt/tech/...
karra's user avatar
  • 11
16 votes
1 answer
22k views

How to follow systemd unit log?

I have a running systemd unit and I want to follow it's log. I know I can show unit's log by using: journalctl -u my_unit.service But that only prints current logs without following them. I know I ...
jirislav's user avatar
  • 573
3 votes
1 answer
2k views

How to enable systemd's journal audit transport?

I have been studying logging on Linux but I have come to a road-block that's got me stuck for the past few days. My goal is to forward logs from two raspberry pi 3's running OpenSUSE Tumbleweed (...
Edge-Case's user avatar
4 votes
1 answer
2k views

How to send log entries to a remote server running journald (systemd)

I have an iot module running a firmware that has the capability of sending the logs to a remote syslog host. I've already configured it to send the entries to an Ubuntu Server running rsyslog. I'd ...
Dario's user avatar
  • 143
0 votes
1 answer
802 views

Extract text from journalctl logging facility

I have a system which I can access directly with the keyboard but not by ssh (which is my problem, and which arises the question; a RasPi 3 with OSMC 2016.05-1, which is Debian-based, version: 8.5). I ...
Tobias's user avatar
  • 315