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 .)

708 questions
1060
votes
15 answers

Where is the cron / crontab log?

I want to verify that my cron job is executing and at what time. I believe there is a log for my sudo crontab -e jobs, but where? I searched google and found recommendations to look in /var/log (in which I do not see anything with 'cron' in the…
Scott Szretter
  • 10,783
  • 3
  • 15
  • 7
285
votes
5 answers

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.
Stann
  • 14,436
  • 17
  • 44
  • 43
162
votes
5 answers

How to see Login history?

Is it possible to see the login history, i mean to see if someone has used the computer in my absence and when he used it . if it is possible, where can i get the log ? if not, is there a program that logs all the logins and their time ?
Dzero
  • 2,982
  • 2
  • 15
  • 20
160
votes
9 answers

How can I tell what date Ubuntu was installed?

is there a command which will output the date that ubuntu (or any distribution) was installed?
lxtips
  • 1,701
  • 2
  • 11
  • 5
139
votes
3 answers

How do I keep track of failed SSH log-in attempts?

I'd like to see if somebody has been trying to log-in by brute-force into my Ubuntu 12.04 server over SSH. How can I see if such activities have been taking place?
Ivan
  • 54,329
  • 64
  • 150
  • 210
119
votes
5 answers

Where are the OpenVPN connection logs and configuration files?

I have problem connecting to OpenVPN server. Where are OpenVPN log files and how do I find the connection details?
Hojat Taheri
  • 5,139
  • 6
  • 20
  • 26
104
votes
3 answers

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 packages might be located?
green
  • 13,982
  • 7
  • 40
  • 63
89
votes
4 answers

Where is "journalctl" data stored?

When I issue journalctl I get a massive log of all system services, but where is all this information stored?
php_nub_qq
  • 1,359
  • 3
  • 10
  • 21
82
votes
5 answers

How to see log to find a boot problem

I want to find the cause of a boot problem I have tried ls -ltr /var/log from antony@antony which gives me login incorrect can someone tell me what command to use to see what has upset the boot thanks NB when trying some commands from antony@antony…
Antony
  • 1,193
  • 3
  • 13
  • 18
74
votes
4 answers

Where can I find the iptables log file, and how can I change its location?

I have this rule in my iptables: iptables -A INPUT -s 192.168.11.0/24 -j LOG My question is: Where is the iptables log file, and how can I change that?
pylover
  • 2,165
  • 5
  • 23
  • 29
73
votes
2 answers

Where is /var/log/messages?

Just installed natty, and cannot find /var/log/messages. Also, /var/log/daemon.log is missing. What happened? Why are they no longer present? And where I can find the same log information?
John Ianadus
  • 833
  • 1
  • 6
  • 5
65
votes
4 answers

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 apt-get clean which improved the scenario only…
Masroor
  • 3,003
  • 5
  • 26
  • 50
60
votes
4 answers

How do I log all input and output in a terminal session?

How do I keep logs of all the work done via terminal? For example, I want a record of all the work done on database via terminal.
Ankit
  • 6,281
  • 16
  • 53
  • 77
55
votes
5 answers

Where is log file from rc.local?

I have some commands to in my rc.local. I know that they are failing. How can I get log file with messages produced by executing rc.local? Where is it located? I have checked the /var/log/boot.log. I know my messages are not there because I know…
vladimir
  • 1,447
  • 2
  • 13
  • 9
49
votes
3 answers

How do I disable messages or logging from printing on the console/virtual terminals?

My wireless driver is noisy. It prints out messages to the console every 10-30 seconds. So, if I'm working on VT1 or something, I get messages scrolling by all the time. Is there a way to shut this feature off? I like working on the virtual…
dpb
  • 6,789
  • 1
  • 32
  • 58
1
2 3
47 48