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
0 votes
0 answers
11 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 ...
user avatar
  • 101
0 votes
1 answer
32 views

/var/log/kern.log growing out of hand

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 ...
user avatar
0 votes
1 answer
99 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 ...
user avatar
  • 23
0 votes
0 answers
54 views

Kernel verbose on startup

just installed 22.04 on my laptop and now everytime i bootup i get this screen before plymouth bootlogo and its annoying is there is any fix on how to turn it off im relatively newbie so i dont know ...
user avatar
0 votes
1 answer
57 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 ...
user avatar
  • 103
1 vote
1 answer
72 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 ...
user avatar
  • 1,003
1 vote
0 answers
13 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 ...
user avatar
  • 634
0 votes
1 answer
23 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 ...
user avatar
  • 1
0 votes
0 answers
29 views

Increase xorg log verbosity?

How does one persistently increase the xorg log verbosity on Ubuntu 20.04, i.e., in systemd? I'm experiencing random system freezes in both Ubuntu Desktop (i.e., GNOME3) and Lubuntu on the same system ...
user avatar
  • 85
0 votes
1 answer
26 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 ...
user avatar
  • 103
0 votes
1 answer
46 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 ...
user avatar
  • 803
0 votes
0 answers
28 views

How to record specific command history in Ubuntu

Is that possible to record the specific command in the customized history log file? For example, I would like to record all ansible-playbook execute history to the customized log file immediately when ...
user avatar
  • 137
1 vote
0 answers
121 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?
user avatar
  • 241
0 votes
1 answer
110 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 ...
user avatar
  • 31
0 votes
0 answers
34 views

Postfix log level after Upgrading 16.04 -> 18.04 -> 20.04

I've upgraded my 16.04 LTS version to 18.04 LTS to 20.04 LTS. Everything works fine, even postfix log: Before upgrading I saw connect from, connect established, IP-adresses, TLS information, and so ...
user avatar
  • 1
0 votes
0 answers
7 views

Logging everything I see in a bash session [duplicate]

I know I can have a look at my bash history in .bash_history and save that history. This time I'd like to have both the commands as well as the complete output of those commands being logged to a text ...
user avatar
0 votes
1 answer
54 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 ...
user avatar
0 votes
0 answers
32 views

20.04 - USB Error in Hardware Log

I'm using Ubuntu 20.04 on a HP COMPAQ 15 SG19n. The following error message is in the logs after booting: ehci - pci 0000:00:1d.0:port1 reset error -110 What does this error message mean? I am ...
user avatar
  • 1
0 votes
0 answers
45 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 ...
user avatar
  • 111
0 votes
1 answer
48 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 ...
user avatar
  • 204
1 vote
1 answer
58 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 ...
user avatar
  • 125
0 votes
1 answer
66 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 ...
user avatar
  • 101
0 votes
2 answers
176 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/...
user avatar
1 vote
0 answers
80 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 ...
user avatar
0 votes
0 answers
77 views

Computer Shutting down whenever I turn on Ubuntu

Ubuntu 20.04 is randomly shutting down within 1-5 minutes after I turn it on. It gives no warning messages. It is not a proper shutdown it just turns off. I turn it on again and again and it keeps ...
user avatar
0 votes
1 answer
66 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 ...
user avatar
0 votes
1 answer
179 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 ...
user avatar
1 vote
1 answer
93 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 ...
user avatar
1 vote
1 answer
329 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 ...
user avatar
1 vote
1 answer
175 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. ...
user avatar
0 votes
1 answer
51 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:
user avatar
0 votes
1 answer
274 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.
user avatar
0 votes
0 answers
96 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 ...
user avatar
  • 23
0 votes
0 answers
24 views

How to use Sqoop/Flume import on Jupyter notebook?

I've been able to use Sqoop/Flume import command perfectly on Ubuntu terminal. But right now, I'm trying to do so on Jupyter notebook. How can I import from MySQL to HDFS using Sqoop import command ...
user avatar
0 votes
1 answer
355 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?
user avatar
0 votes
0 answers
286 views

quitting thunderbird kills the session and causes the user to log out

When running thunderbird, either, here as started from the console: nicholas@mordor:~$ thunderbird [calBackendLoader] Using Thunderbird's libical backend console.debug: "Successfully loaded ...
user avatar
0 votes
0 answers
20 views

Several type of Linux logs collecting, correlation, evaluation and system maintenance

I have an Ubuntu 20.04 home-purpose-usage operating system. Sometimes to fine-tuning or look after a problem I need to see some logs and correlate them to other type of logs. I have already realized ...
user avatar
0 votes
0 answers
118 views

how to take the time difference between two dates and time

I have access logs from my server. I need to take the time difference between two logs. My access logs have the following time format: "14/Apr/2021 06:25:09". To take the difference between ...
user avatar
  • 1
4 votes
1 answer
544 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="...
user avatar
  • 13.9k
3 votes
1 answer
88 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. ...
user avatar
  • 479
0 votes
0 answers
66 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....
user avatar
0 votes
1 answer
73 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'...
user avatar
0 votes
0 answers
23 views

Looking for a way to log all commands, with timestamp and arguments, for all users, including root

As the title states. Recently a remote ubuntu 18.04 server rebooted. This was a provided server, and reviewing the auth log showed an admin user logged in, did apt-get update && apt-get ...
user avatar
  • 275
0 votes
0 answers
149 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/* { ...
user avatar
0 votes
0 answers
37 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 ...
user avatar
  • 103
1 vote
0 answers
162 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 ...
user avatar
  • 11
0 votes
0 answers
19 views

How to raise alerts after a certain time frame from the time stamp of the file name?

#!/bin/bash files=() each_row=() raw_file_names=() directory=($(ls /home/cloudera/Downloads/20211006/*)) csv_file=(/home/cloudera/Downloads/log_20211006_1.log) completed="Completed" for i ...
user avatar
  • 1
0 votes
1 answer
202 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 ...
user avatar
  • 103
0 votes
0 answers
27 views

SMART monitoring logs

I have installed smartmontools and I wrote a script (scheduled in crontab) which periodically sends me a log on the health status of the disk. It performs a rapid test. Apart from the airflow issue, ...
user avatar
1 vote
1 answer
276 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'...
user avatar

1
2 3 4 5
15