How can i turn off rsyslog?

September 20, 2016 304 views
Nginx PHP Ubuntu

can somebody explain me whats the exact use of rsyslog? my access log is already turned off.

I need to turn off rsyslog. its consuming around 30mb of my ram, always sending & receiving data and consuming more or less 1% of disk every day. :(

How can i simply stop rsyslog and free up the disk space it consumed last few days?

Thanks in advance.

3 Answers

No, you do not need to turn it off. If you're that tight on resources upgrade your droplet instead.

If you disable it, you will need to set your transport method to TCP. UDP is the default, which has no error control. You can remove the line for local logging. That conf file tells rsyslog what the source and destination is for logging, so if you remove a destination, it just won't go there anymore.

You should solve your problem by rotating logs instead. Turning off the only thing that gives you visibility into what your server is doing is not a good idea. Also, syslog doesn't send or receive data by default.

Have another answer? Share your knowledge.