Questions tagged [log]

A log is a record of events during a particular time range. Questions about interpreting logs on Ubuntu or controlling logging.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
713 views

Suddenly getting commercial ads in gnome notifications; how to debug?

Since a week or so (say, September 25, 2022), my gnome sporadically shows notifications containing commercial ads. They are not permanent - visible for a second or two, three. How can I trace where ...
xtofl's user avatar
  • 117
0 votes
1 answer
544 views

ufw not logging on ubuntu 22.04

I have no ufw logs on my minimized Ubuntu 22.04 server. sudo ufw status verbose output: $ sudo ufw status verbose Status: active Logging: on (low) On the internet I found I need rsyslogd enabled. On ...
unixcandles's user avatar
2 votes
1 answer
60 views

Where can I find logs of all media files played/accessed by a user?

I have a bit of a conundrum. Yesterday I was organizing some home video archives, and I accidentally moved a file into the wrong folder of about 3000 other clips, before copying said folder onto a new ...
user avatar
0 votes
0 answers
67 views

How to save folder state so that I can monitor changes in it

I have a folder with 5000 ~10mb files, I need something that would save something like list of all files and preferably their hashes so that it can track file changes/renames, and then later compare ...
nikishev.'s user avatar
  • 101
0 votes
0 answers
104 views

Macbook with ubuntu installed shuts down randomly

I installed Ubuntu on my Macbook. The Macbook shuts down randomly. It was the same problem with MacOS. I changed the SSD but the problem persists. I followed some instructions on the web and I got an ...
Josemagne's user avatar
0 votes
0 answers
110 views

Forwarding historic (old) syslog to syslog server

We can forward syslogs to syslog server by making the below entry in syslog.conf/rsyslog.conf *.*<space/tab>@<syslog_server_name>:<port_no> However, this only sends new syslogs, ...
Allan's user avatar
  • 1
0 votes
0 answers
27 views

Applications start logs

I have a simple question. Where can I find a log that contains information about application launch? For the context: I have a terminal server and a client connected to it via ssh. I want to know ...
TheBiggestRat's user avatar
0 votes
1 answer
150 views

How to highlight every other line at gedit? (or better way to view log files)

I wonder if there's a quicker and more clear way to check log files at gedit. At least if it's possible to highlight lines alternatively.
Miguel Gisbert's user avatar
0 votes
2 answers
54 views

newline in bash script

needing to check every hour a logfile looking for "unable to connect to the ldap", I've put in cron hourly this script: #!/bin/bash > result cat logfile.log | grep -a 'unable to connect ...
Silvia's user avatar
  • 538
0 votes
0 answers
309 views

My Ubuntu 20.04 spits out "logger: socket /dev/log: No such file or directory"

I'm a newbie to Ubuntu. I am trying to run a script that needs access to /dev/log when the following error occurred "logger: socket /dev/log: No such file or directory". Any ideas on how to ...
Charles's user avatar
2 votes
1 answer
3k views

View all previous IP logs/connections/etc

I'm not sure if this is a thing or not. I was wondering if for example someone got on my machine (say its on a vpn not on my home network) If someone had access to it somehow if they could view any ...
Bigbear's user avatar
  • 125
1 vote
1 answer
979 views

What is the difference/relation between /var/log/apt/history.log and /var/log/apt/term.log?

About apt in the /var/log/apt directory appears mostly the history.log and term.log files and their "variations" (old versions) such as: history.log.1.gz ... history.log.11.gz term.log.1.gz ...
Manuel Jordan's user avatar
0 votes
0 answers
73 views

Which service spams the console with [OK] Finished ServiceName Messages? And how to turn it off?

[OK] Reached target Late Shutdown Services [OK] Finished System Power Off [OK] Reached target System Power off These messages are not affected by kernel boot parameters like loglevel=3 or rd....
exception valueerror's user avatar
1 vote
0 answers
407 views

Login via xrdp session doesn't register as logged-on user

When I open a xrdp session (xorg) to my Linux system and check for existing user logins via who or last, there is no entry for the xrdp session. Why is that? And is there a way to show current and/or ...
Albin's user avatar
  • 111
0 votes
1 answer
288 views

/var/log/kern.log growing out of hand [duplicate]

I don't know much about linux so I was wondering if I could get a bit of help with this (I'm using Ubuntu 20.04.4 LTS): I just got a message that my ssd is running out of space and when going through ...
Columini's user avatar
0 votes
1 answer
810 views

First time writing a script -- why isn't the output going to a file?

I learned to use a computer with DOS so I am trying to approximate a batch/.bat file to run all the updates to my system and create a log file of the outcome. #!/bin/bash #update system in one step cd ...
EHJ's user avatar
  • 85
1 vote
1 answer
7k views

How to disable logging to /var/log/syslog and use only systemd logs

My last question What are the options to manage the size of /var/log/syslog of an embedded system was not answered so I am asking this question to see if it is possible to stop using /var/log/syslog ...
Aminos's user avatar
  • 133
3 votes
1 answer
5k views

Where is the log file for Xwayland?

When I used to run Xorg, I would get my log files for it in the /var/log directory. But with 21.10, it no longer runs Xorg, but Xwayland. Every now and then I experience a black screen that I would ...
Bram's user avatar
  • 2,505
1 vote
0 answers
52 views

Apache monitoring tool that reads and organize Apache Logs

I got tired looking for a GUI tool that just read and organize Apache log files. Reading several redundant lines of the log file is a hill. I searched here and Google for a free GUI tool that performs ...
SaidbakR's user avatar
  • 769
0 votes
1 answer
71 views

Custom Audit Logs from Applications

I am trying to programmatically generate custom audit logs from the applications I've written (C/C++), but currently cannot find the library/functions that would allow me to do so. I am aware of ...
Rice's user avatar
  • 1
1 vote
1 answer
590 views

What are the options to manage the size of /var/log/syslog of an embedded system

I have an embedded system (i.MX6) running a modified version of Ubuntu 18.04 LTS bionic stored on its SD card and I want to know how to manage /var/log/syslog file size. I noticed that systemd journal ...
Aminos's user avatar
  • 133
0 votes
1 answer
609 views

ThinkPad X1 Yoga G6: increased CPU usage and heating during suspend, how to find out from logs

In the last several weeks, all of a sudden, my ThinkPad X1 Yoga G6 started to overheat after suspend, in the bag. The fan is on full speed, and the laptop is extremely hot. On opening the screen, it ...
axolotl's user avatar
  • 1,063
1 vote
1 answer
2k views

Remmina SSH session logging to file

Does there exist an easy way to log the complete content of a SSH session to a file during a Remmina SSH connection?
netbat's user avatar
  • 1,064
0 votes
1 answer
273 views

What do all these log messages mean?

I'm using Ubuntu 20.04.3 LTS kernel version 5.16.3-051603-generic. I'm getting these log messages in the logs application. What do these messages mean? Do I need to worry? Will they cause some big ...
Mudit's user avatar
  • 43
0 votes
1 answer
425 views

Relocate logs in /opt/log to /var/log

I want to save my logs into /var/log so that I can send them to the Siem platform, because the platform is unable to receive them from /opt/log. The logs are saved into /opt/log because I am using a ...
Vikas Khari's user avatar
0 votes
0 answers
167 views

How to find source of desktop notification in ubuntu?

I find desktop notifications useful, as information from number of services gets pushed right in front of my face. However recently I must have installed something unwanted, because these began to ...
Suspended's user avatar
  • 111
1 vote
1 answer
130 views

Is there a way to get a log of *active* computer-use?

I would like to log the amount of time I spend in front of the computer - so not uptime for the PC, but the amount of time where I'm actively using input (mouse/keyboard). The worktimer workrave does ...
emilBeBri's user avatar
  • 234
1 vote
1 answer
801 views

How do I limit the number of apache log files

I am using Ubunto 2018.4 VPS and using phpfpm 7.2-4. I have about 30 domains and each domain creates log files and archives them. It currently creates about 15 of each type (access/log) so there are ...
Hawk007's user avatar
  • 159
0 votes
2 answers
500 views

My ubuntu 20.04 server can shutdown but not reboot, remotely

When I issue shutdown -h now it works as expected. The machine stops. When I issue shutdown -r now or reboot the machine hangs in a pseudo-off state with the power light on but no network activity. I ...
John's user avatar
  • 141
0 votes
2 answers
1k views

Unlock a logfile locked by another process linux

I have written a script to empty/nullify a logfile once a day on my ubuntu server. LogFile Path: /var/log/turn.log I have tried below commands for this purpose: Commands : sudo cp /dev/null /var/log/...
Ayush Kapil's user avatar
1 vote
0 answers
266 views

Syslog : I am trying to generate separate iptables.log file for IPTABLES,

My Ubuntu 20.4 LTS My efforts are as follows:- 1.) Created IPTABLES rules with LOGGING by mentioning --log-prefix="IPTABLES-BLOCKED: " Logs are successfully generated by iptables, I have ...
Ashok Dewan's user avatar
0 votes
1 answer
474 views

Where does 20.04 Software Updater keep log file?

Ubuntu 20.04.3 LTS current, maintained through Software Updater GUI application. Where does Software Update keep log files of the actual activity and results of each time it runs? If these are just ...
Yasha Karant's user avatar
  • 1,061
1 vote
1 answer
1k views

Big /var/log/journal

I have a problem with my ubuntu 20.04 My /vat/log/journal grows to 195G. When I execute the command $tail -f /var/log/syslog I see a log repeated and I think this is my problem. Sep 20 19:45:11 ...
majid_shoorabi's user avatar
0 votes
1 answer
1k views

log rotation for /var/log

I got an alert that the root directory is running out of space. On inspection using ncdu i found that the /var/log folder was taking alot space. Then further inspection shows that syslog and kern.log ...
Andrew Mititi's user avatar
1 vote
1 answer
2k views

Where to find logs for "Low Disk Space"

After seeing the window popping up that shows Low disk space | The volume "Filesystem root" has only X MB disk space remaining. Where can we find the log file that logs this low disk space ...
Athena Wisdom's user avatar
1 vote
1 answer
431 views

I need some help understanding the output of journalctl as it relates to system crashing/freezing

I've been getting a lot of freeze-ups and the odd sudden reboot recently. Most often it happens while I am streaming media. The freeze-up infinitely loops that last (approximately) 1 second of audio. ...
Matthew Brown aka Lord Matt's user avatar
0 votes
1 answer
235 views

Daily video log app ubuntu like Jake Sully's from avatar

Is there anything daily video log for Ubuntu 20.4 LTS GNU like Jake Sully's from avatar did? The image has been attached for a better understanding:
Ferdous90's user avatar
0 votes
1 answer
1k views

Writing to /var/log/auth.log

We'd like an application to write entries to /var/log/auth.log Is there any kind of interface to allow us to do this? thanks for any pointers.
jonathan's user avatar
0 votes
0 answers
172 views

Important logs notifications - ubuntu 20.04 lts

Some notifications appear on my system logs with the status "important". gdm-session-wor: gkr-pam: unable to locate daemon control file bluetoothd: Failed to set mode: Blocked through ...
zarok13's user avatar
  • 43
0 votes
1 answer
1k views

How to block incoming traffic from IP addresses on port

How do I block all IP addresses from where traffic is coming from, on my Ubuntu 18.04 (on a specified port) or just log all IP addresses connecting to this port to .txt file?
Kamil Skwirut's user avatar
5 votes
1 answer
2k views

Discord, how can I make it stop flooding my logs?

I am on ubuntu 20.04 focal, and I have discord installed. While discord is active, I get loads of messages in dmesg from it. [ 1242.218055] audit: type=1400 audit(1626585289.753:15781): apparmor="...
j0h's user avatar
  • 14.8k
3 votes
1 answer
105 views

Bash script runs more than one times. Dont know why

I have a really simple bash script which runs as cron job every minute. It makes a log to file. Everything works fine but there is one weird thing. The script make more than one logs at the same time. ...
Čamo's user avatar
  • 759
0 votes
0 answers
67 views

newer to coding not sure if this is the correct way to manage variables for a project anyone have a second to help me?

Here is a log (I've only included the matching lines there is a lot of other stuff in the real log) /home/steam/pavlovserver/Pavlov/Saved/Logs/Pavlov-backup-2021.07.07-08.51.08.log:[2021.07.06-17.30....
Billywilly joseph's user avatar
0 votes
1 answer
161 views

How do I empty logfiles in Ubuntu?

How do I empty logfiles in Ubuntu? I got message that root has less than 1 GB of space left.. I found out that logfile is huge, over 400 GB. (Does size of logfiles relate to root directory at all?) I'...
Heta Rikala's user avatar
0 votes
0 answers
427 views

The size of log files is still big after logrotate on ubuntu 20.04

logrotate was setup on Ubuntu 20.04 to limit the besu log file size to 10MB, keep 4 weeks log with rotating weekly and delete the old log file. Here is the besu conf: #for besu log /home/log/besu/* { ...
user938363's user avatar
0 votes
0 answers
38 views

C program created many proccesses, crash the OS and stuffed 40GB into log directory

I create the following program which needs to "play ping pong" between a parent process and its child process. Even while working on it, while compiling, I noticed that my PC starts to work ...
NoobCoder's user avatar
  • 103
1 vote
0 answers
166 views

VirtualBox giving Secure Boot error - Despite the fact it's not installed? [duplicate]

My /var/log/syslog file kept getting tremendously big, I checked the last few lines with tail and I found this Jun 16 19:21:18 Freedom-MAX-G0101 vboxdrv.sh[7974]: The Secure Boot key you've entered is ...
NewGuy's user avatar
  • 11
1 vote
1 answer
3k views

Bash script output on the screen also to the log file

I created a simple script that does a curl command ( I run it every month via crontab ) and I made it echo to a logfile with the date of run. The problem is that I want to receive the shell script ...
Shlomi's user avatar
  • 113
0 votes
1 answer
724 views

Help with understanding log

just installed Ubuntu 20.04. the system keeps freezing and i have to turn it off with the power button and on again. Can someone help me analyze this log file, if there's maybe something wrong that i'...
Arsenio Rechards's user avatar
0 votes
1 answer
4k views

What is the meaning of UFW BLOCK and should I be worried about it?

So I am fairly new to pretty much anything server related. I recently pushed my project to production. It currently has very little website visitors. I am running it on a simple Digital Ocean Ubuntu ...
I'm a Koala's user avatar

1
2
3 4 5
15