Yes, I accidentally deleted var/log/syslog file in a production server! And then I thought the server will recreate it automatically and start logging again. But it didn’t!

Image credit: What Richard Did (2013)

Then I tried to recreate the file manually with the following command and start watching. but still, it doesn’t log a single line!

--

--