Questions tagged [syslog]

Syslog is a protocol designed to relay system event messages. Questions related to syslog involve event notification and logging capabilities.

Syslog is a standard for computer data logging. It separates the software that generates messages from the system that stores them and the software that reports and analyzes them.

Source

373 questions
111
votes
2 answers

Difference between /var/log/messages, /var/log/syslog, and /var/log/kern.log?

For the purposes of kernel logging, why do I have three different, non-inclusive levels of logging amongst /var/log/messages, /var/log/syslog, and /var/log/kern.log?
66
votes
5 answers

How to enable boot messages to be printed on screen during boot up?

How to enable boot messages, kernel messages and other logs of various services to be printed on screen during boot up?
nixnotwin
  • 5,083
58
votes
4 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
  • 7,209
54
votes
2 answers

Where is syslog.conf?

I tried to move my stuff from CentOS to Ubuntu. Here is a problem I met: I would like find the corresponding CentOS /etc/syslog.conf file in Ubuntu? Basically, the file is used to control where those syslog files go?
user17370
  • 643
52
votes
1 answer

"CRITICAL: We failed, but the fail whale is dead. Sorry..."

When I started up my machine today I got some quite bizarre messages in my syslog: ... Aug 17 18:58:15 Floral-Towel systemd[1349]: Startup finished in 266ms. Aug 17 18:58:15 Floral-Towel systemd[1349]: Starting Default. Aug 17 18:58:15 Floral-Towel…
user364819
52
votes
3 answers

Write to syslog from the command line

How can I write an entry into /var/log/syslog from the command line?
Drew Noakes
  • 5,878
49
votes
7 answers

What does this docker log entry mean?

Some minutes ago my computer crashed because apparently my hard drive was full. After booting in recovery mode I then found out that my syslog file in /var/log was 64GB large. I saved the end of the file on another partition and then deleted it.…
Philip Z.
  • 880
48
votes
6 answers

I cannot clear syslog but I can remove it?

Why doesnt sudo /dev/null > /var/log/syslog and sudo > /var/log/syslog work, while sudo rm /var/log/syslog works?!
37
votes
3 answers

92% of syslog is filled with message regarding 'ureadahead' ignoring relative path

I just turned on my laptop (using Ubuntu 15.10 64-bit) and checked syslog for today's logs. From total $ cat /var/log/syslog | grep 'Mar 23' | wc -l 23791 $ cat /var/log/syslog | grep -P 'Mar 23.*Ignored relative path' | wc -l 21863 and the…
37
votes
3 answers

How do I limit the size of my syslog?

I've got my mom's computer running Ubuntu 12.04 LTS. It's been working just fine but all of the sudden syslog has been filling up. And by filling up I mean I just deleted a /var/log/syslog that was 400GB in size. Yes - Gigabytes. While I'm sure…
Wayne Werner
  • 6,872
31
votes
5 answers

No logs are written to /var/log

I have a problem, that no logs are written to /var/log. -rw-r----- 1 syslog adm 6.4M May 21 2014 syslog -rw-r----- 1 syslog adm 5.7M May 21 2014 daemon.log -rw-r----- 1 syslog adm 494K May 21 2014 auth.log But date and time is configured…
stil
  • 771
30
votes
2 answers

Where are Upstart log messages on Ubuntu 13.X?

On Ubuntu 12.04, I can find Upstart log messages in /var/log/syslog. Commands: # initctl log-priority info # initctl emit hello Log: Apr 1 01:56:56 precise64 kernel: [ 8365.820425] init: Connection from private client Apr 1 01:56:56 precise64…
B. Szonye
  • 403
29
votes
8 answers

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 filled again. I thought it was some cache or swap…
ant_1618
  • 811
  • 2
  • 8
  • 11
29
votes
1 answer

"file /var/log/syslog is being edited" message in nano

To the best of my knowledge, I can view /var/log/syslog with the command sudo nano /var/log/syslog and successfully did so several times during a session; however, I was trying to search the log for keywords and apparently entered some 'unknown…
munr0
  • 291
27
votes
4 answers

Cron Job Not Running?

I have a crontab file that looks like this: * * * * * /home/abliskovs/update/update.sh However when I check the syslog for evidence that the job has run, there is nothing that might indicate that it ever ran. How can I check if it's running? crontab…
1
2 3
24 25