Questions tagged [logs]

Logs are lists of events or information generated by a program or system. They are used for diagnosis as they can contain various useful information to pinpoint the cause of a problem.

Logs are lists of events or information generated by a program or system. They are used for diagnosis as they can contain various useful information to pinpoint the cause of a problem. Generally, there are a few types of entries:

  • Error: A problem that can cause a process or program to fail, such as "Directory not found; quitting".

  • Warning: A potential problem that has not caused a failure yet, or create a failure that was easily rectified within the program, such as "Configuration file not found; using default configuration."

  • Information: A bit of info, such as "The server is listening on port 80."

  • Verbose: Low-level info, such as "Opened configuration file for reading." Useful to show between which initiation steps a failure occurred, with greater specificity than the use of information entries.

  • Debug: Extreely fine info, often useless. This can be a new entry for every connection to a webserver saying "New connection from 10.20.10.154, testdev.local/index.php. HTTP/1.1:404, 2KB returned".

191 questions
90
votes
4 answers

Where are the logs for apt-get?

I would like to know where I can find the logs for the following package managers: Synaptic Package Manager Ubuntu Software Center The logs when using the terminal with apt-get
sdale1930
  • 1,167
48
votes
13 answers

How to know last time `apt-get update` was executed?

I know that the command to update the repository lists is: apt-get update How to check if it has been executed today or in the last 24 hours? I do not know if I should check some file timestamp. Or issue another apt command. Or use dpkg…
cavila
  • 603
42
votes
5 answers

How to find previous boot log after Ubuntu 16.04+ restarts?

My question is, how can I find boot log from previous system boot attempt? Today when first powering on my PC, boot process stopped on Ubuntu logo, when I pressed Esc I have seen several lines containing some kernel error and restart required at the…
Mike
  • 5,931
27
votes
3 answers

What automated intrusion notification/detection setup is good for home desktop use?

I've been using Linux for quite a while now and I always feel the need to have a passive software / script setup which can alert me of any suspicious network activities like scans, failed login attempts, etc. on the fly via email or by visual/audio…
irenicus09
  • 413
  • 5
  • 10
22
votes
3 answers

Can't access apache error logs

My Ubuntu vitual server wen't offline. I rebooted it and now want to debug what happened. I can browse to /etc/log but if I try cd apache2 it says Permission denied. I'm sure my user account has priviliges. I also tried sudo cd apache2 which gives…
S..
  • 393
21
votes
4 answers

Where are ALL ubuntu logs/terminal history stored

In what folders are the logs and key histories stored so that I may make a script to purge them. Is there a specific folder for the hibernation partition or a file by which it keeps the RAM data on hibernate? Is someone wanted to get rid of all…
13
votes
2 answers

Where are unauthorized sudo attempts reported to?

Where are unauthorized sudo attempts reported to? When you attempt to use sudo, and are not allowed, a message says that the attempt will be reported. Is this only reported in /var/log/auth.log? Is there another place? The reason I ask, is because…
Frantumn
  • 1,459
11
votes
5 answers

How to add the logs to a crontab with time stamp

In crontab, I scheduled a daily backup script. Now when the cron executes the script the status are logged to a log file as shown below. 0 0 * * * /home/backup.sh > /home/groupz/db-backup/fbackup.log 2>&1 Now, when the cron executes a script the…
10
votes
3 answers

Where is the Xpad content stored on disk?

I had installed the Xpad package on Ubuntu 13.10 and had taken a few notes in it. I recently upgraded to Ubuntu 14.04 and have taken the backup of the entire home folder. At which location is the content of the Xpad stored on the disk? If it is…
bpositive
  • 135
9
votes
1 answer

Where are my wireless error logs?

When I type ifconfig it shows: eth1 Link encap:Ethernet HWaddr e4:d5:3d:70:81:b3 inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::e6d5:3dff:fe70:81b3/64 Scope:Link UP BROADCAST RUNNING…
8
votes
1 answer

Get more information about the crash

When I issue the command last in my terminal I see the following entries i.e. "crash": i meant the command last " show listing of last logged in users". root@lab18:~# last tito pts/3 x.x.x.x Tue Nov 13 16:22 still logged in tito …
Tito
  • 181
  • 1
  • 6
8
votes
1 answer

Where can I find logs regarding the user creation?

I created a new user using useradd command. I need the logs for it. Where it will be available. Thanks in advance.
batman
  • 8,071
8
votes
2 answers

Search for file by the name it had before being renamed

I have some hundreds of thousands of files, personal stuff like photos, videos and documents gathered and stored during the years. Most of them are organized by type, dates and topics... But some (like 10k files) are not organized and have been…
7
votes
3 answers

"Successful su for user by root" - suspicious entries in my /var/log/auth.log?

This post on reddit made me go through my logs. That's when I discovered the following entries which appeared on two non-subsequent days. "user" is my user account. Aug 4 22:50:37 UbuntuSystem sudo: pam_unix(sudo:session): session opened for user…
Glutanimate
  • 21,763
7
votes
2 answers

Is there a way to look at the raw logs of zeitgeist?

Zeitgeist logs your activity in Unity. Is there a way to look at the raw logs it creates?
con-f-use
  • 19,041
1
2 3
12 13