battletoad
Expert Member
- Joined
- Mar 10, 2009
- Messages
- 1,461
- Reaction score
- 52
This should probably be in the soft&web section, but I feel its more of a linux issue.
Setup:
1. apache 2.2.22 mysql 5.5 php in a VM on ubuntu server 12.04
2. VM housed in a different department as a demonstration of a website I'm selling them.
3. ssh access only through keys.
4. /var/www mounted as sshfs to a server I trust for the dev (same server with key).
/var/log/apache2/error.log becomes massive very quickly. Deleted a 6.8GB file this afternoon, now it's ballooning to about 600MB after a few hours.
Googled a lot, but all the results refer to files which I cannot find. Made a few webservers in the past but haven't come across this problem yet.
Any way to either:
1. set a limit on the log file?
2. stop it altogether?
Setup:
1. apache 2.2.22 mysql 5.5 php in a VM on ubuntu server 12.04
2. VM housed in a different department as a demonstration of a website I'm selling them.
3. ssh access only through keys.
4. /var/www mounted as sshfs to a server I trust for the dev (same server with key).
/var/log/apache2/error.log becomes massive very quickly. Deleted a 6.8GB file this afternoon, now it's ballooning to about 600MB after a few hours.
Googled a lot, but all the results refer to files which I cannot find. Made a few webservers in the past but haven't come across this problem yet.
Any way to either:
1. set a limit on the log file?
2. stop it altogether?