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

learn more… | top users | synonyms

3
votes
2answers
13k views

Ubuntu 14.04 - logrotate does not rotate /var/log/* (rsyslog config)

I have a bunch of Ubuntu 14.04 servers I manage where logrotate is not rotating anything under /var/log/*. I'm going to assume its an issue with the /etc/logrotate.d/rsyslog as I see other entries in /...
3
votes
1answer
51 views

Accidentally deleted /var/log/syslog

I accidentally deleted /var/log/syslog and now I can't get rsyslog working. I was googling, I tried everything I found. To be precise: I created syslog with touch. Then I set chmod and chown ...
0
votes
2answers
30 views

Are log files written to when a buffer fills or in 'realtime'?

I have a script running which pipes its output through another script; that wrapper script adds a timestamp to each line of the log. However the data is being written to the log file in chunks of ...
3
votes
1answer
28 views

Redirect iptables logging to another logfile

I have followed the recipe by @Gilles in this answer. I succeeded, but the problem is that the iptables logging now goes into 3 log files, syslog, kern.log and iptables.log. Ideally, I want the ...
1
vote
0answers
29 views

How to stop logging user login history?

I have noticed a History button in System Settings > User Accounts on my newly installed Ubuntu 15.10 system. It brings up a log of recent login sessions for the selected user. How can I disable ...
3
votes
1answer
33 views

what does this mean for a module to have a bad taint?

When looking at the syslog (dmesg), I get several of: <module name>: module has bad taint, not creating trace events What does this mean ?
0
votes
0answers
18 views

Where Ubuntu Gnome Looking Glass / extensions logs are stored?

I've started to playing around with extensions for ubuntu gnome, gnome-shell version 3.18.5. During the development I've encountered a problem finding logs from my extension or even the one used ...
2
votes
1answer
47 views

How to see information of a WiFi hotspot I once tried to connect to?

I would like to see some information, including MAC address, of a WiFi hotspot that I tried to connect to and failed in the past. I can not try connecting to it again any more, because it is not a ...
3
votes
0answers
58 views

Massive log files on Ubuntu 16.04

I recently installed Ubuntu 16.04. For some reason I have massive log files. For example: kern.log is 10.5 GB big and syslog is 152 MB. I already tried rotating them, but I wanna know what's making ...
348
votes
5answers
671k views

Where is the cron / crontab log?

I want to verify if my cron job is executing and what time. I believe there is a log for my sudo crontab -e jobs, but where? I searched google and it I found references to look in /var/log (...
6
votes
4answers
21k 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 ...
2
votes
0answers
35 views

bash.bashrc damaged..ubuntu log in loop and no interactive programs working from terminal

I have accidentally deleted the content of /etc/bash.bashrc and now I cannot log in as it gives me a loop and I cannot run any interactive programs from the terminal. When I try, I get this error: ...
8
votes
3answers
6k views

Redirect UFW logs to own file?

Is there a way I can easily redirect the entries for UFW to their own log file at /var/log/ufw instead of filling up /var/log/syslog as it's becoming tricky to find solutions to problems with all this ...
2
votes
1answer
77 views

How to include millisecond in syslogs?

I have configured rsyslog.conf file in /etc to include my own logs as syslogs in a file at /var/logs. But after opening the file I got this: Jun 5 10:09:09 lab-Altos-G330-Mk2 slog[19689]: Hello1 Jun ...
5
votes
2answers
111 views

Is there software which time- tracks window & application usage?

Is there a software which keeps time of my activities and gives a report? Based on focused window and window title. Report would just show time spent for specific window and its title like: ...
1
vote
1answer
5k views

init.d script doesn't log to /var/log/boot.log

The script below is working fine at system startup. However, its log messages don't show in /var/log/boot.log, when the system boots. I compared it with other init.d scripts and couldn't reach any ...
0
votes
1answer
17 views

Logcheck not sending email

I just installed logcheck, modified its config to my email address, but when i prompt a test run i dont get the email. If i redirect the output to STDOUT i get the correct infos. I read somewhere ...
0
votes
0answers
17 views

Understanding the reason behind a freeze using system logs to file bug

My Ubuntu laptop just froze a few minutes ago (like it is frequently doing) making me reboot it using the hardware forced way. I would like to know the cause behind it so that if necessary I can file ...
0
votes
0answers
31 views

Graylog2 Windows logging from a current syslog-ng loghost aggregator

So our environment currently has a log host aggregator sending and receiving logs to 2 hosts (both linux and windows). I just introduced graylog to our environment and it doesn't appear to be ...
0
votes
1answer
43 views

Apache2 failed to start on Ubuntu 14.04, log file is empty

I just try to install apache2 on my 14.04 Ubuntu server but I get an error: * Starting web server apache2 (98)Address already in ...
0
votes
1answer
31 views

How do I debug openstack-install command?

Is there a debug command or log that can be viewed to look into sudo openstack-install error
10
votes
3answers
927 views

No more boot logging since 16.04?

I noticed that my /var/log/boot.log file has date 2016-04-22, last time I booted in 15.10. Where are Xenial boot.log files located?
2
votes
1answer
33 views

logkeys log file has wiered output

I have a Ubuntu 15.10 install and recently installed logkeys. and I followed up with the log file with after installation and creating the log file. tail --follow test.log it generates weired ...
1
vote
1answer
38 views

How can I log all notify-send actions?

I keep getting very strange notifications which go away before I can read them, they are long, and appear at random times, the most recently one came up was during a kernel upgrade, it had a strange ...
0
votes
1answer
18 views

Is there a file with system log?

In Ubuntu there's a program called System log, with log of system and all that you do with Ubuntu. I would ask if would be possible create a file.txt that refresh automatically with log from 'System ...
3
votes
4answers
610 views

Is there a log of all activity I could open in terminal?

I'd like to have a terminal opened and study the processes and everything happening in a regular use of Ubuntu. What commands and files can I use to see the logs in real-time? Thanks.
0
votes
0answers
28 views

Troubleshooting logkeys keylogger - Logkeys dumping wrong character in the log file

This is what I am doing after installing logkeys. sudo logkeys -s sudo nano /var/log/logkeys.log
0
votes
1answer
62 views

Troubleshooting Logkeys Keylogger Ubuntu 14.04 - Empty log file

This is what I am doing. sudo gedit /var/log/logkeys.log Then I would look at my log file to see if it worked and saw that it was blank! Is there any way that I can fix this so I can be able to ...
1
vote
2answers
56 views

Get unique lines from log using grep and tail

I have the following log file. I want to extract the last 10 unique entries from this file. Is it possible to do with grep and tail? 2016-04-18 10:13:11,925 (glastopf.glastopf) 115.239.248.245 ...
0
votes
1answer
52 views

Where can I find my call history on Ubuntu Phone?

This seems oddly missing on my nexus 4. I received a phone call the other day, and I forgot to add her as a contact. Now I am searching for that phone call, and I can't find a log readily accessible ...
0
votes
0answers
11 views

Can I deiconify a console on a certain output?

I would like to have a terminal window which deiconifies as soon as it shows an output. With it I would monitor log messages on a terminal -- say with a tail -f. The terminal would loom in ...
0
votes
1answer
60 views

Log file bloat due to nouveau

Both my kern.log and syslog files have grown to >50Gb and contain a few hundred million lines of: Feb 23 23:32:43 Yawning-Angel kernel: [396111.179453] nouveau E[ PFIFO][0000:05:00.0] PBDMA0: ch 2 [...
0
votes
1answer
39 views

How to keep record of Logins and Actions

I've just created a Windows Server 2012 Domain and I inserted an ubuntu 14.04LTS laptop in the domain, which is responsible for file exchanging with a USB between the domain users. How can I keep a ...
0
votes
1answer
29 views

Logging Bad Sectors

Is there a program that will maintain a log of growing bad sectors? I want to measure the regression of my hard drive automatically as opposed to manually taking screenshots. UPDATE: After running ...
0
votes
0answers
13 views

Scrambled screen everytime trying to execute a program

I am new to ubuntu and just installed 14.04 32 bit on an old machine for testing. It is a lenovo desktop which the spec is as following. After the installation, the screen will scramble everytime I ...
0
votes
0answers
31 views

How to restrict root's installation capabilities

I've found out some time ago that users who install software via sudo apt-get install ... or any of the GUI tools (Update Manager or Software Center) show up in the /var/log/auth.log which makes it a ...
0
votes
0answers
12 views

Ubuntu server stuck on splash screen?

After restart my ubuntu server gets stuck to splash screen? All programs start up i can login with alt + f2 and open "log" "console" (ssh and samba server works) whole thing ends in stopping cpu ...
106
votes
3answers
303k views

Where are the Apache and PHP log files?

I've installed Apache, PHP, and MySQL on Ubuntu 10.10 desktop edition, and it's working fine. Except I have no clue where to look for Apache or PHP log files.
0
votes
1answer
28 views

how to trace errors and crashes in Ubuntu itself?

I'm new in Linux, My Ubuntu has started crashing for some days randomly and closing everything, going back to login screen!! Is this the same as when windows hangs and you kill a program? (but ...
0
votes
0answers
44 views

Did my ubuntu shutdown properly last time?

When I came back to my laptop it was shut down. Last time it suddenly turned off. This time as I was away I do not know what has happened. I even cannot remember if I shut it down or not. I read the ...
19
votes
4answers
17k views

GUI for watching logs (tail and grep)

Could you recommend a GUI application with powerful log watching capabilities? Generally it would work as tail -f in GUI, but on top of that following features would be very useful: filtering out ...
1
vote
1answer
36 views

How to create a special log for my ntpdate?

ntpdate -s 0.asia.pool.ntp.org s:Divert logging output from the standard output (default) to the system syslog facility. tail /var/log/syslog The ntpdate log will be seen. I want ...
1
vote
1answer
23 views

How to check logs for all connections Linux made to servers and/or downloads

I downloaded Sophos a few days eariler, but now I'm worried I might've got it from a bad source. Is there a way to check to see where I've got it from without using the download list of Chromium (It ...
2
votes
2answers
6k views

Sending UDP packets with `logger` command

I have couple different solutions for running custom syslog server (based on https://gist.github.com/marcelom/4218010). The problem I am facing is that the following command does not send UDP packets ...
1
vote
1answer
53 views

How can I build a scrollable, colored syslog viewer with less, ccze, grep?

I'd like to view logfiles with colored output, scrollable and searchable. How do I do that? I tried less /var/log/syslog | ccze | grep error, but it is not scrollable.
11
votes
2answers
41k views

Where is Xserver log file located?

My Ubuntu 10.10 sometimes totally freezes. I suppose that it is somehow related to my graphic card and would like to check Xserver log. Where is this file located ?
0
votes
2answers
53 views

var/log/syslog growing indefinitely in size

The disk that contains Ubuntu on my computer is 115GB in size. When the disk was 114.7GBfull. I started deleting some files here and there to free up around 5GB. But I noticed the disk was 114GB ...
3
votes
1answer
26 views

Need Help Freeing Disk Space

I need help freeing up diskspace, From Disk Usage Analyzer it says that my Log Files have taken up more than half of the Disk Space. Is there a way to get clear up the Log Files? I've tried to delete ...
1
vote
2answers
540 views

cupsd using 100% CPU, creating large (80GB+) error_log

A few days ago I realized my Ubuntu machine wouldn't load after login. After some digging around on a liveCD I realized my HDD was at 100% capacity, so I deleted some large files and was able to log ...
1
vote
0answers
47 views

Troubleshooting Ubuntu via Remote Terminal

In a situation where an unscheduled system reboot occurred on an Ubuntu environment and the only way to access the device is via Remote Terminal. What are some of the things you would ...