Skip to main content

Questions tagged [syslog]

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

Filter by
Sorted by
Tagged with
105 votes
2 answers
217k views

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?
A Student at a University's user avatar
63 votes
5 answers
173k views

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's user avatar
  • 5,043
57 votes
3 answers
189k views

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 ...
dpb's user avatar
  • 7,119
54 votes
2 answers
103k views

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 ...
user17370's user avatar
  • 643
52 votes
1 answer
33k views

"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]...
user avatar
51 votes
3 answers
70k views

Write to syslog from the command line

How can I write an entry into /var/log/syslog from the command line?
Drew Noakes's user avatar
  • 5,748
49 votes
7 answers
12k views

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 ...
Philip Z.'s user avatar
  • 810
47 votes
6 answers
128k views

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?!
user259632's user avatar
37 votes
3 answers
31k views

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.*...
Mostafa Ahangarha's user avatar
35 votes
3 answers
94k views

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 ...
Wayne Werner's user avatar
  • 6,762
30 votes
2 answers
44k views

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: ...
Bradd Szonye's user avatar
29 votes
1 answer
29k views

"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 ...
munr0's user avatar
  • 291
27 votes
5 answers
73k views

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 ...
stil's user avatar
  • 721
27 votes
7 answers
64k 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 ...
ant_1618's user avatar
  • 761
27 votes
4 answers
98k views

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 ...
Alex Bliskovsky's user avatar
24 votes
3 answers
64k views

How can I receive syslog logs from a networked system?

I'd like to configure Ubuntu to receive logs from a DD-WRT router. The router's configuration screen contains the following section: and its logging documentation reads: If you wish to send logs ...
ændrük's user avatar
  • 77.2k
22 votes
2 answers
9k views

^@^@ character in syslog

I observe the following strange characters ^@ in syslog at the time when my machine freezes. Then i have to hardboot my machine. What could be wrong any ideas? Oct 12 12:20:52 nanak-P570WM anacron[...
LifeLongStudent's user avatar
21 votes
2 answers
37k views

What could be the cause for these strange UFW block entries in my syslog?

I've recently noticed a large number of recurring UFW blocks in my syslog. This surprised me as I have no UFW rules set: $ sudo ufw status verbose Status: active Logging: on (low) Default: deny (...
Glutanimate's user avatar
  • 21.5k
19 votes
2 answers
61k views

difference between rsyslogd and syslogd

I was trying to implement some changes to syslogd on Ubuntu 10.04.02 LTS (Server edition). I found /etc/syslog.conf is not present on system, instead I have /etc/rsyslogd.d/*.conf. syslogd can be ...
Jamess's user avatar
  • 3,123
18 votes
2 answers
148k views

How do I configure rsyslog to send logs from a specific program to a remote syslog server?

I have a program which outputs to syslog with a given tag/program name. I'd like to be able to filter syslog traffic from that program and send it to a remote syslog server, leaving all other syslog ...
Simmo's user avatar
  • 283
15 votes
4 answers
20k views

How do I stop and remove KDE Baloo that is broken and filling up my syslog file?

KDE baloo has recently caused rsyslog to start logging many errors. Part of 'Syslog' Mar 3 15:01:53 harry-S340 baloo_file.desktop[2982]: org.kde.baloo.engine: PositionDB::put MDB_BAD_TXN: ...
Harry S's user avatar
  • 443
15 votes
2 answers
48k views

How to solve: gkr-pam: unable to locate daemon control file?

Since i installed 19.04 I start to getting this error in my syslog sent from gdm-session-wor: gkr-pam: unable to locate daemon control file What could be the problem and how to solve it?
James Gates's user avatar
  • 1,015
14 votes
3 answers
27k views

/var/log/syslog 'systemd[1]: Time has been changed' message every 5 seconds

I have a problem. There are messages like Mar 1 15:52:34 ubuntu systemd[1]: Time has been changed Mar 1 15:52:34 ubuntu systemd[1]: snapd.refresh.timer: Adding 1h 16min 25.978183s random time. ...
Russel FP's user avatar
  • 313
14 votes
2 answers
12k 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 ...
balping's user avatar
  • 443
14 votes
1 answer
31k views

syslog doesn't exist!

I use 14.04 and I don't have syslog. I'm a fresh user of Linux, being Windows user for years. When I try tail syslog and that's what out: henrique@henrique:/var/log$ tail -f /var/log/syslog tail: ...
Henrique Ramos's user avatar
12 votes
4 answers
47k views

What is "WARNING 'syslog' option is deprecated"?

Hi all have been trying to make a samba ubuntu server and I ran testparm and it came up with ---- WARNING "syslog" option is deprecated' ---- In smb.conf I have syslog set to 0 (I have no idea what ...
Nicolas Hanna's user avatar
12 votes
4 answers
40k views

How do I stop /var/log/kern.log.1 from consuming all my disk space?

I have an 80 GB HDD without any partitions. One day I realized that I had lost most of my free disk space. I discovered that /var/log/kern.log.1 takes up 25 GB of space, and there is no delete ...
Abhishek Prakash's user avatar
12 votes
2 answers
13k views

What Graphical Logfile Analyzers are available?

does anybody know a good graphical logfile analyzer for (mainly) syslog messages from ubuntu? maybe one that converts the text-based messages in objects to sort/group/filter messages like windows' ...
Achim A's user avatar
  • 656
11 votes
5 answers
37k views

/var/log/syslog not rotating

Our log file /var/log/syslog does not seem to be rotating, even though the logrotate config /etc/logrotate.d/rsyslog exists: /var/log/syslog { rotate 7 daily missingok notifempty ...
Justin's user avatar
  • 531
11 votes
3 answers
17k views

/var/log/syslog empty

Apparently my logs stopped working around Apr 10, as the current /var/log/syslog is empty, and /var/log/syslog.1 has the following for its last entries: Apr 10 20:25:01 li243-206 CRON[2883]: (root) ...
Caffeine Coma's user avatar
11 votes
4 answers
8k views

"Wrong ufstype may corrupt your filesystem" - Should I be worried?

I was just now looking through /var/log/syslog and I found these line which worried me: ufs: You didn't specify the type of your ufs filesystem May 5 09:06:09 Bath-Towel kernel: [ 425.626221] May ...
user avatar
11 votes
1 answer
4k views

How to correctly create a virtual file system?

A task in my homework assignment asks me to create a virtual file system, mount it, and perform some operations on it. I am supposed to create a file of 10 MB whose bits are all set to 0, format it ...
Paul's user avatar
  • 1,175
11 votes
2 answers
10k views

Where do log messages go with journald and rsyslog

On Ubuntu 18.04 both journald and rsyslog are installed. Both serve the same purpose of collecting log messages and storing them. So we have two programs doing the same work here. What I could find ...
ygoe's user avatar
  • 998
10 votes
2 answers
31k views

Syslog flooded with systemd-resolved messages "Using degraded feature set"

Lately my syslog is being flooded with these messages: localhost systemd-resolved[1632]: Using degraded feature set (TCP) for DNS server 127.0.1.1. I'm on Ubuntu 17.04. resolv.conf is auto-...
bovender's user avatar
  • 251
10 votes
1 answer
45k views

Ubuntu crash - how to read log files

A few days ago the laptop decided to close without no relevant reason. From this day on, it randomly crashes without explanation. This is what I (correctly?) filtered from the log files on the last ...
tigerjack's user avatar
  • 2,595
9 votes
2 answers
10k views

Is there a way to suppress one specific message from syslog?

I'm getting a lot of Dec 27 08:35:49 htpc kernel: [ 1552.153797] pciehp 0000:00:1c.5:pcie04: Card not present on Slot(0-2) Dec 27 08:35:49 htpc kernel: [ 1552.157744] pciehp 0000:00:1c.5:pcie04: ...
vava's user avatar
  • 1,382
9 votes
2 answers
17k views

Which script rotates /var/log/auth.log?

I cannot figure out where /var/log/auth.log is rotated. I found the file /var/log/auth.log.2013-09-16 on my system, which contains log entries previously found in /var/log/auth.log. Where does that ...
Oswald's user avatar
  • 191
9 votes
1 answer
2k views

Gnome Shell related JS errors seen in syslog file during investigating system freeze

I'm using Ubuntu 20.04 LTS (upgraded from original install of 18.04.4 LTS) on an HP Eitebook 2560 Intel Core i5 Trying to investigate a system issue where the UI became unresponsive at the lock ...
Syed_A's user avatar
  • 91
9 votes
3 answers
7k views

How do I configure Dropbox to log to syslog?

Dropbox is currently running well on Ubuntu server 10.04. How can I setup dropbox to log any sync in syslog or even separate log file?
Pablo's user avatar
  • 2,547
8 votes
2 answers
40k views

How To rotate syslog daily?

I want to rotate my syslog daily... How do I do this? How to check whether log rotate is working? How to make it run daily? By default, does Ubuntu Server run logrotate daily? Or do I have to set it ...
THpubs's user avatar
  • 2,805
8 votes
1 answer
6k views

/var/log/syslog constantly logging errors, growing at 1 MB/s

It seems to be the same three errors repeated: $ tail -n15 /var/log/syslog Apr 5 23:32:01 detoo kernel: [ 6042.078785] ACPI Error: [PGRT] Namespace lookup failure, AE_NOT_FOUND (20150619/psargs-359) ...
roro's user avatar
  • 277
8 votes
2 answers
12k views

How to disable the log files?

To be specific I want to stop the kern.log and syslog files. I just installed Xunbuntu about 2 days ago and have no experience with this OS. I know they are supposedly important, but I have a ...
user165909's user avatar
8 votes
1 answer
3k views

Why is there "seccomp" events related to Google Chrome in syslog?

Was in my syslog today and noticed that the Google Chrome web browser is create TONS of events that look like this: Dec 7 13:11:02 mycomp-sys76 kernel: [ 8371.604406] type=1701 audit(1354903862.279:...
Dave's user avatar
  • 3,647
8 votes
1 answer
4k views

How to diagnose/stop gdm-x-session spamming syslog

[Note: this is similar to issue #418 in the gnome gitlab but it happens to me constantly and I'm not running Evolution. I filed this there too, but gnome 3.28.2 is no longer supported there.] I'm not ...
turix's user avatar
  • 81
7 votes
3 answers
67k 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 ...
Tadeck's user avatar
  • 252
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 ...
SDsolar's user avatar
  • 3,169
7 votes
5 answers
26k views

/dev/log is missing. how do I fix?

On my machine (16.04.1) it seems that /dev/log is missing. It's probably always been missing. The real reason I am here asking for help is that I am using virtualmin with csf and the SYSLOG_CHECK ...
cmroanirgo's user avatar
7 votes
2 answers
1k views

syslog.1 and kern.log.1 filling up with same message

So I just recently installed Ubuntu and today I discovered, that my kern.log and syslog files in /var/log/ are way to big (16.5GB and 13.0GB). I started to look into this, and discovered that the ...
LetsFailNoob's user avatar
7 votes
3 answers
24k views

How to verify if a reboot was due to power outage?

We've had problems with tripping a breaker and I think we just did it again, but I need to confirm that 1 of our boxes rebooted due to a power outage and not for another mundane reason. I have ...
David Parks's user avatar
  • 2,536
7 votes
1 answer
700 views

Why do I need syslog, or even cron, when Ubuntu has have the systemd journal and timers?

I have run a distro which doesn't have syslog nor cron installed by default. I felt lost at first, but when I learned how to read and work with the journal and systemd timers I found I didn't really ...
Christian's user avatar
  • 1,749

1
2 3 4 5
8