PDA

View Full Version : [Apache2, FC4] Logfile problem


pontifex
23rd July 2006, 12:59
Hi everyone,

currently i have the following problem. I have installed an apache2 on Fedora core4. Afterwards i made a conf file for vhosts in apache and have defined a location for the error log and the "normal" web.log.

That works fine, but the file grows and does not split in months and years as eg ispconfig does...

how can i get the same result like it is in ispconfig? which file should i use for that? or how does it work?

Cheers
PM

platd
23rd July 2006, 16:24
Read the docs here
http://httpd.apache.org/docs/2.0/programs/rotatelogs.html

pontifex
22nd August 2006, 19:25
Hi,

i would like to disable logging itself. so is there a way to stop logging in apache2 completely?

Cheers
PM

falko
23rd August 2006, 17:05
Comment out all ErrorLog and CustomLog lines in your Apache configuration and restart Apache.