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
8 votes
1 answer
7k views

Can I see a log-file of startup applications?

I'm using Ubuntu Gnome 16.04. I added some applications in start applications program. Is there any log of them as if they had started in the terminal? E.g.: I added deluge to the startup apps, but I'...
0 votes
0 answers
255 views

Completely crashed and logs

I'm running Ubuntu 18.04. My PC just completely crashed(neither ctrl+alt+f3 or REISUB work). I can only find this in the system logs. Other logs are output 15mins before crashing. I'd like to know ...
1 vote
0 answers
41 views

Slow shutdown occasionally

What is wrong? If I disable splash screen I see shutdown stuck at some stage. How can I see the output log afterwards to inspect the problem? How to make shutdown fast?
1 vote
1 answer
8k views

bash history log all commands to syslog

I am trying to log all commands ran by all users. I got a solution from Github function log2syslog { declare COMMAND COMMAND=$(fc -ln -0) logger -p local1.notice -t bash -i -- "${...
0 votes
1 answer
755 views

User creation remote logging

I am trying to centralize logs from different server to one server. I can centralize logging information via adding auth.* @server_ip:port in /etc/rsyslog.conf from the clients, but now I don't ...
72 votes
4 answers
198k views

Very large log files, what should I do?

(This question deals with a similar issue, but it talks about a rotated log file.) Today I got a system message regarding very low /var space. As usual I executed the commands in the line of sudo ...
0 votes
1 answer
38 views

Does a USB HDD contain info on previous mounts? [duplicate]

I have an external hard drive (usb) , I suspect that it might have been mounted into another computer on a precise date and time. Is there any way to see the log (from the hdd) and verify if it was ...
1 vote
3 answers
1k views

Extracting strings from mail log

I'm trying to extract all lines of text from mail log file that contain specific string (mail address). I know using grep will allow me to search for the address [email protected], but how do I ...
7 votes
1 answer
21k views

16.04: How do I make cron create cron.log and monitor it in real time?

I know that cron events are stored in /var/log/syslog and I can use a command like: sudo cat /var/log/syslog | grep cron to see them. I'd much rather have the system keep a separate cron log file ...
1 vote
3 answers
13k views

Why don't my iptables log?

I have a linux server running on Ubuntu 16.04. Today I installed PSAD, a Intrusion Detection System. PSAD works by analyzing the logfiles of iptables. So, first thing to do before using PSAD is ...
1 vote
0 answers
641 views

How can I remove audit logs of auid = -1

I'm trying to configure auditd for audit log. What I want to do is remove logs of auid=-1(auid=4294967295). I tried few things but the result was same. (Set rules in audit.rules file, etc..) ...
3 votes
0 answers
2k views

How to find out my IP address from previous days

I would like to have a list of all the IP addresses my network card has had in the last days (hopefully at least a week). Is there a place where it might be logged those records, saying, for instance,...
42 votes
1 answer
165k views

[Firmware Bug]: TSC_DEADLINE disabled due to Errata - what should I do about this?

I saw several bugs and error messages when I was looking by chance into the tool called "logs". Being a newbie in Ubuntu I have no idea how to deal with these bugs, where to report them or how to fix ...
3 votes
1 answer
913 views

How can I log the activity of a directory? [duplicate]

I need to know which files have been copied to or removed from a directory or folder such /dev or /mnt or any other directory. How can I do that?
0 votes
1 answer
1k views

Continuous terminal output to a file [duplicate]

I am running a software which keeps on printing the steps followed and progress of it on the terminal. I would like to redirect the output from terminal to log file as and when the software prints ...
2 votes
1 answer
381 views

Connection attempts on port 80 in router logs but not server logs

I have a static Apache2 website on port 80 on an Ubuntu server connected to my LAN behind a router. The website functions normally. My router logs are showing bursts of connection attempts to port ...
1 vote
1 answer
82 views

How can I revert a one-liner comand which changed some system kernels in Ubuntu 16.04 LTS without any backup and using only system logs?

I saw an answer to a similar question, https://askubuntu.com/a/280843/808169, only there is a gap. The answer was almost spot-on for my case, but didn't answer the question of how I could un-instal ...
0 votes
0 answers
600 views

Upload server log into aws cloudwatch log using cloudwatch log agent in ubuntu

aws support Centralized logs for server , we can send custom logs to cloudwatch logs mu awslogs.conf file code is datetime_format = %d/%b/%Y:%H:%M:%S file = /path/to/log/file/test.log ...
0 votes
1 answer
2k views

freshclam not working because clamav folder in /var/log and /var/log is in ramdisk

I was looking for this on the web but since English is not my primary language it seems that I can not find what I want, that is why my question is here... Intro: I have an SSD and I did some ...
2 votes
1 answer
1k views

what are system.journal and templates.dat

I just found that there are two big files in my Ubuntu 16.04: /run/log/journal/c840a48...(a very long name)...debfed5d/system.journal /var/log/installer/cdebconf/templates.dat My goal is to make the ...
0 votes
0 answers
34 views

log files getting big fast [duplicate]

Please help me determine the cause. It is gaining 2gb per hour approximately. So far,its only happening when I try using the wifi adapter thru usb to rj45 adapter. The extension chord is badly ...
0 votes
0 answers
186 views

Slow boot up on Ubuntu 16.04

I'm a new ubuntu user and I love it! However my boot time is very slow (about 95 ceconds). I've managed to create a boot log, and there are some points in the boot up where there seem to be conflicts. ...
4 votes
2 answers
8k views

How to create a log file of all the commands I executed [duplicate]

Im in need of help. New learner to linux, and for school, they want me to create a log file of all the commands I executed for a project. I can't figure it out at all. Please help!
1 vote
1 answer
152 views

Output log for bash

So I am executing a move script for some files that is older than 1 month every week as follow: #!/bin/bash echo "Moving Recordings Older than 30 days!"; /bin/find /var/services/homes/recordings/...
3 votes
1 answer
2k views

Python log viewer with GUI?

I'm looking for some python log viewer where I can filter logs based on their level. I've found only one thing: Logview which would be great but links are dead and I didn't find it anywhere else. ...
0 votes
1 answer
5k views

How can I empty log files with a cron job on WSL?

Where is the log directory in WSL? There seems to be no such directory as /var/log/. My aim is to run this *nix cron daily command: 0 0 * * * cat /dev/null > /var/mail/* /var/log/*
0 votes
1 answer
789 views

Syslog-ng log server drop logs

I have a Syslog-ng server. there are many clients that send their log to the log server. the problem is sometimes there is no log for some clients in the log server, and sometimes there is no log for ...
10 votes
3 answers
1k views

Is there an equivalent in Ubuntu to /var/log/yum.log in Redhat? [duplicate]

Redhat has a log you can look at after yum installs packages on your system. Is there an equivalent log to that in Ubuntu?
0 votes
1 answer
672 views

CLI log screen for USB to serial in ubuntu 16.04 is not working

Connected serial to USB in ubuntu 16.04. and it is listed in my cli like ttyUSB0 While opening the screen using screen -L /dev/ttyUSB0 115200 it is not opening the log screen from serial device. It ...
1 vote
1 answer
2k views

How to interpret results of `last reboot` command?

I was supposed to left my device always on since Monday last reboot give me reboot system boot 4.4.0-98-generic Wed Dec 6 08:52 still running reboot system boot 4.4.0-98-generic Mon Dec ...
2 votes
2 answers
258 views

Config --no-log for an init deamon job

I have a proccess configured under /etc/init and it runs by the init deamon, and want this proccess to stop sending logs to the /var/log/upstart dir. I read this document: https://wiki.ubuntu.com/...
0 votes
1 answer
389 views

System crash with kern.log filled with ^@^@^@^@

My 17.10 (and previous 17.04) system crashes at random time points (usually every 1-2 hours). This only occurs when I work, i.e. if the system is idle I've never noticed it crash. I've looked at the /...
3 votes
0 answers
5k views

Is it normal for User Manager to be started and stopped for UID 0 many times during startup?

I'm getting errors on every startup related to User Manager for root (UID 0). My system is working fine overall, but with an array of very minor, merely annoying idiosyncracies, so I don't know if ...
0 votes
1 answer
7k views

How to check why a process stopped?

How can I check why a process was stopped / killed in Ubuntu? I know using dmesg I can check if a process is killed by OS. But can some one let me know if the process is killed by a user, how can ...
0 votes
0 answers
236 views

Exclude Pingdom from Nginx Access Log

I am getting a lot of entries for pingdom in my Nginx access log 209.126.117.87 - - [25/Oct/2017:06:46:56 +0100] "GET / HTTP/1.1" 200 14852 "-" "Pingdom.com_bot_version_1.4_(http://www.pingdom.com/)" ...
5 votes
1 answer
6k views

Why do both /var/log/Xorg.0.log and /var/log/Xorg.1.log exist on my system?

According to the xorg.conf man page, the log file should be The default log file is /var/log/Xorg.n.log on most platforms, where n is the display number of the Xorg server. Since I only run one X ...
1 vote
1 answer
4k views

Firefox messages in /var/log/messages

I happened to be browsing through /var/log/messages for another reason, and I stumbled across some messages apparently related to Firefox like this: Apr 5 15:36:59 myserver kernel: [18091.188462] ...
5 votes
1 answer
7k views

In /var/log/messages, how do you tell if a connection started or finished?

How can one differentiate between the start of a network connect and the end of one, from the logs listed in /var/log/messages? All the logs look identical.
0 votes
1 answer
2k views

View & Read STDERR for for debugging

I'm working on Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-88-generic x86_64) server. I ran below code to get my GUI set up: sudo apt-get update sudo apt-get install ubuntu-desktop I need to read the ...
0 votes
1 answer
35 views

Terminal program to log all system reosurces?

I need log the graphs of CPU GPU RAM GPU vRAM Disk I/O simultaneously on a system using a non-GUI program, so that I can analyze later. How can I do this? I have an Nvidia K40 GPU
2 votes
1 answer
976 views

Do the logs such as messages and syslog begin during or after installation?

I would like to know if logs such as /var/log/syslog and /var/log/messages begin their first loggings during the installation of the OS, or once the OS has already been installed and at the first ...
4 votes
1 answer
7k views

Where can the last FSTrim be seen as successful or not? (log files)

I recently installed an SSD and AFAIK Ubuntu makes a weekly FSTrim on SSD's that support it. Is there a log file of this trims?
108 votes
3 answers
274k views

Where are all the major log files located?

So, if there is some problem with my computer, be it hardware or software, what are the major log files and where are they located? Also, is there a generic location where log files of the other ...
0 votes
2 answers
7k views

How do I disable kernel messages while booting? [duplicate]

I enabled the kernel messages a long time ago because I was playing around with Ubuntu. But now I am finished and I want to disable them again, but forgot how to. /etc/default/grub already contains ...
0 votes
1 answer
167 views

Confusion with system clock change in messages?

In the messages log I can see that my system clock was changed. This was recorded in the log happening at 4pm and the change was to move the system clock to 3.58pm. However, in the next lines of the ...
1 vote
1 answer
5k views

Large number of ssh failures in message log

I just looked at the message log vi var/log/message2 I am getting a huge number of failed ssh attempts from China, e.g. Mar 27 06:30:42 xxx sshd[10628]: PAM 2 more authentication failures; logname=...
3 votes
2 answers
10k views

Rotate nohup output

I'm working with weblogic 10.3.5 under ubuntu 12.04. Weblogic is started using nohup ./startWebLogic.sh >Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer....
1 vote
1 answer
540 views

Where are the logs from underneath the splashscreen? [duplicate]

Is there a logfile of the messages that are printed onscreen underneath the splash screen in 16.04? If so, where are they, or what is the name of the file?
0 votes
1 answer
415 views

WARNING **: Failed to get pixmap in /var/log/syslog

My /var/log/syslog is completly full of the following warning:- WARNING **: Failed to get pixmap I am pasting some last lines of my /var/log/syslog Jul 1 14:52:46 smit-Aspire-5742 com.canonical....
0 votes
1 answer
572 views

How to monitoring log on multi server with log.io

I'm install and configure log.io on one server that okey. This is image of: web of log server But now I want to monitoring multi remote server with one master server. Any links or suggestion helping ...

1
6 7
8
9 10
15