Under linux I use logrotate, which copies the contents of the logfiles, compresses it, creates an empty logfile and restarts apache. All the old logs (older than one week for example) are deleted. I don't know if such a tool exists on Windows, but I think it does; or if not, it couldn't be hard to write one :)
Gergely Schlup, Herbert írta: > > Mhhh…. I had a 2 GB File which filled my c-drive…. So any other idea? > Possible to have job that empty this file? > > > > ------------------------------------------------------------------------ > > *From:* POLONKAI Gergely [mailto:[EMAIL PROTECTED] > *Sent:* Montag, 18. Dezember 2006 08:41 > *To:* users@httpd.apache.org > *Subject:* Re: [EMAIL PROTECTED] Growing Error.log > > > > Hello, > > these files are contents of the IIS, and can be hacked many ways. > That's why bad people try to "download" these to hack an IIS based web > server. As far as I know you can't do anything against it... > > Gergely POLONKAI > > Schlup, Herbert írta: > > Dear all > > > > I have my error.log growing and growing. I have following repeating > errors where I do not know where they are coming from. > > > > [Mon Dec 18 08:09:32 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/clientwebservice > > [Mon Dec 18 08:09:32 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/iuident.cab > > [Mon Dec 18 08:09:34 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/autoupdate > > [Mon Dec 18 08:09:34 2006] [error] [client 149.133.30.248] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/wutrack.bin > > [Mon Dec 18 08:10:50 2006] [error] [client 149.133.30.31] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/ClientWebService > > [Mon Dec 18 08:12:08 2006] [error] [client 149.133.31.207] File does > not exist: C:/Program Files/Apache Group/Apache2/htdocs/SelfUpdate > > > > I uninstalled Apache and re-installed Version 2.0.59. But the error is > still there. > > > > Please help > > > > Thank you > > > > Herbert >