MDDHosting Forums: Clearing apache log files - MDDHosting Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Clearing apache log files

#1 User is offline   Bluesplayer 

  • Member
  • PipPip
  • Group: Clients
  • Posts: 58
  • Joined: 20-March 10

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
0

#2 User is offline   Scott S 

  • MDDHosting Staff
  • PipPip
  • Group: Staff Administrator
  • Posts: 139
  • Joined: 24-February 09
  • Gender:Male
  • Location:GMT-8:00

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
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
0

#3 User is offline   Bluesplayer 

  • Member
  • PipPip
  • Group: Clients
  • Posts: 58
  • Joined: 20-March 10

Posted 29 August 2011 - 01:27 PM

View PostScott 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


Thanks.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users