We’ll show you, How to Use Logrotate to Manage Logs on Ubuntu. Logrotate is a tool used by the system administrators to ease the management of large log files generated by the system services. The most important features of logrotate are automatic log rotation, log compression, log removal and mailing the log files. In this tutorial, we are going to show you how to use logrotate to manage the log files generated by the services running on your Linux VPS.
logs
Linux Log Files
We’ll introduce you to the Linux log files. Before you start with this guide it is recommended that you login to your VPS and follow this guide while looking at the files in there, as that is the best way to learn and memorize the things. Learn about the log files when your system is running smoothly as understanding the log files will help you to successfully troubleshoot and fix any problems that might occur later on. Finally, ‘Linux log files’ is a pretty extensive topic and it is unlikely to be fully covered in just one article. This article on, Linux log files, can probably serve just as a general guideline. Each application installed on the system has its own logging mechanism so whenever you need application specific information then the application documentation is the best place to look for it.