Forum Webscript.Ru
Общие => Веб Сервера => Тема начата: HUNTER от 13 Сентября 2002, 08:37:23
-
Как в апаче правильно настроить ротацию логов, подскажите плиз, система Win2k
-
Используй rotatelogs.exe
-
а сам синтаксис?
-
Раз тебе настолько лень самому запустить екзешник без параметров - читай, там все написано:
E:\\usr\\local\\Apache\\bin>rotatelogs
Usage: rotatelogs [offset minutes from UTC]
Add this:
TransferLog "|rotatelogs /some/where 86400"
to httpd.conf. The generated name will be /some/where.nnnn where nnnn is the
system time at which the log nominally starts (N.B. this time will always be a
multiple of the rotation time, so you can synchronize cron scripts with it).
At the end of each rotation time a new log is started.
-
Понял, пасиб тебе! Просто они у меня почему то не хотят ротироваться!
-
HUNTER
А в httpd.conf все правильно прописал?