![]() Script to delete the log file after a given time Navigate to the service folder whichever you are using apache2 or Nginx This is about how to clean apach2/nginx log This will delete all the compressed files in the log folder tar.gz as an extension we need to clean this file Navigate to /var/log there you will see many compressed file named as. Many times these log files occupy a considerable space in the server disk drive so we need to clean the log files periodically. I put that last because for many reasons it’s not terribly helpful to us marketers. The IP address of the client-the software that requested the file was-11.222.333.44.The ‘200’ means the server found the file Page-address.htm is teeny, weighing in at 182 bytes. On September 14, 2020, someone using Google Chrome tried to load.Every time any browser or user-agent, Google included, requests any resource-pages, images, javascript file, whatever-from your server, the server adds a line in the log. ![]() They are text files stored on your web server. ![]() Server log files are a raw, unfiltered look at traffic to your site. Novem/ Nirav S What is the log file in the server? How to clean log file and create a cron script to clean the log file ? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |