MDDHosting Forums: Clearing apache log files - MDDHosting Forums
Page 1 of 1
Clearing apache log files
#1
Posted 29 August 2011 - 10:37 AM
Hi
I run a home server - version ubuntu 10.10 - and on checking things over recently I have apache log files that have grown to be enormous. How can I delete them and stop them from being created in the future? If I have any problems I can always activate the creation of these files again at some other time. In the meantime I am more concerned about the space they are using up.
Regards
Bluesplayer
I run a home server - version ubuntu 10.10 - and on checking things over recently I have apache log files that have grown to be enormous. How can I delete them and stop them from being created in the future? If I have any problems I can always activate the creation of these files again at some other time. In the meantime I am more concerned about the space they are using up.
Regards
Bluesplayer
#2
Posted 29 August 2011 - 10:54 AM
On a linux system, lots of processes are writing to log files all the time. Trying to stop them could prove difficult as you may need to edit the config files for many different applications and daemons. Instead, it is generally best to configure logrotate to delete old log files and keep current files from growing too large.
You may find the following resources useful:
https://help.ubuntu....y/LinuxLogFiles
https://help.ubuntu....Files#Resources
You may find the following resources useful:
https://help.ubuntu....y/LinuxLogFiles
https://help.ubuntu....Files#Resources
█ Scott S. - MDDHosting, LLC - Professional Hosting Solutions
█ LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
█ Incremental R1Soft CDP Backups on all services!
█ http://www.mddhosting.com/ - Follow us on Twitter! @MDDHosting
█ LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
█ Incremental R1Soft CDP Backups on all services!
█ http://www.mddhosting.com/ - Follow us on Twitter! @MDDHosting
#3
Posted 29 August 2011 - 01:27 PM
Scott S, on 29 August 2011 - 10:54 AM, said:
On a linux system, lots of processes are writing to log files all the time. Trying to stop them could prove difficult as you may need to edit the config files for many different applications and daemons. Instead, it is generally best to configure logrotate to delete old log files and keep current files from growing too large.
You may find the following resources useful:
https://help.ubuntu....y/LinuxLogFiles
https://help.ubuntu....Files#Resources
You may find the following resources useful:
https://help.ubuntu....y/LinuxLogFiles
https://help.ubuntu....Files#Resources
Thanks.
Share this topic:
Page 1 of 1

Help












