Questions tagged [log]

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

Logs on an Ubuntu system include:

  • Logs from the Linux kernel and system services like , stored in /var/log. These can also be accessed using the command. See .
  • Server logs, automatically created and maintained by a computer of activity performed by it. These can include or access logs. For questions about monitoring these logs, especially on servers, see or .

This tag is for questions about how to interpret the logs on an Ubuntu system, or controlling what and how should take place. (See also .)

764 questions
-1
votes
1 answer

Parental control of log in?

Possible Duplicate: How do I disable the guest session? I gave my daughter's user account on Ubuntu 11.10 a password that only I know so that I could control her use of the computer if needed. She just logs in to the "Other" account on the log in…
Sharon
  • 1
-1
votes
1 answer

Ping different IP addresses and save only ping statistics

I want to ping IP addresses and save only statistics and only the IP address - 0% packet loss $ ping -s 100 -c 5 -i 1 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 100(128) bytes of data. 72 bytes from 8.8.8.8: icmp_seq=1 ttl=48 (truncated) 72 bytes from 8.8.8.8:…
Oleksii
  • 353
-1
votes
1 answer

View the live log in linux

I want to See the Live log from the Log file which is being used within the Script. i have script which makes VPN connection to CISCO VPN Server and then COpy the files to the Remote Location. for having a list of files which was sent , within my…
kunal
  • 442
-1
votes
1 answer

Disable all Logs

I use my Ubuntu vps with openvpn as a surf proxy. For security and privacy reasons i want to disable all logs on the server. So no IPs are getting loged in any file. I already disabled rsyslog daemon, but is there any other daemon / service which…
-1
votes
1 answer

date discrepancies in logs

I have a situation, i reinstalled Ubuntu from a flash drive this morning(July 27). Now when investigating changes to the system I am finding logs from July 24. How is this possible?
-1
votes
2 answers

My auth.log file, size is quite huge. How can I reduce it? Will trucate command work?

This is my auth file size: -rw-r----- 1 syslog adm 26451675 Mar 27 15:23 auth.log Will sudo truncate -s 0 /var/log/auth.log is reducing the size. Will it impact my system? Regards
-1
votes
1 answer

How to fix when files keep disappearing without reason

How to fix when files keep disappearing without reason? Or maybe because I accessed it? I'm on Ubuntu 22.04 money@money:~$ ls move* move2.sh movenew.sh movestart3.sh money@money:~$ cat move2.sh cat: move2.sh: No such file or directory money@money:~$…
-1
votes
1 answer

What is SRC column in /var/log/syslog?

I ran this command cat /var/log/syslog | grep SRC= | awk '{print $1,$2, $3, $12}' I saw thousands of IPs Apr 24 23:15:47 SRC=79.124.62.86 Apr 24 23:15:59 SRC=192.241.221.145 Apr 24 23:16:18 SRC=193.27.228.62 Apr 24 23:16:38 SRC=5.51.177.42 Apr 24…
code-8
  • 205
-1
votes
1 answer

Hosting Apache2 log File

Currently I am trying to host my apache2 log file, with no luck. Here is the error i am getting tail error.log I am running the most up to date version of Apache. Here is my config. 000-default-le-ssl.conf I cannot seem to figure this out is this a…
-1
votes
1 answer

How to get execution Log of any running applicaion

When I start running application on Ubuntu 16.04, i have face a problem of CPU usage of 100% for each application for long time. I need to get log of that particular application (its execution log ) so I can find problem/bug.
-1
votes
1 answer

Backup Logs Before Installing Updates

So I ran into some issues booting my machine recently. Apparently after an update is when the chaos started. I was told to backup log files but I am unsure how to back them up. Is there anyway to automate that process?
Muhnamana
  • 1,890
-2
votes
1 answer

Change time format in log file

I have squid log file in follow format: 31/Jul/2014:13:44:52 +0400.701 0 172.16.204.59 TCP_DENIED/407 5232 GET http://vec01.maps.yandex.net/tiles? - NONE/- text/html but log analyzer need time in unix format. date command can convert to unix format:…
-2
votes
2 answers

How can the rules that determine valid user passwords be changed?

Are there any particular rules on what a valid password is, speaking of length, upper- and lower and/or special characters, numbers, etc. and if so how they can be changed?
Mashimom
  • 465
-3
votes
1 answer

Very large log files (syslog, kern.log)

I got the warning that I only have 38 MB of disk space left. The reason for this seem to be two huge log files: syslog.1 and kern.log.1 with 388 GB each. I installed Linux Pop!OS only recently so my system is quite fresh. Before the problem happened…
1 2 3
…
50
51