I'm running Apache on Windows 2000 Server and I'm trying to use ROTATELOGS to rotate my logs. Here's the httpd.conf file content I have:
You can see the CustomLog entry that I did have, which I commented out and replaced with the lower entry.#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
#CustomLog logs/access.log common
CustomLog "|bin/rotatelogs.exe logs/access.log 300M" common
However, when I start apache using apache_start.bat, I just get the DOS window stating ...
...which then closes. Obviously, if I comment out my entry and uncomment out the original one, Apache starts OK.Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
I've tried all sorts of combinations of comment, including using the TIME and MB options of ROTATELOGS.EXE, adding /APACHE/BIN/ to my path statement, using COMMON and COMBINED optionos, etc. but no luck. And yes, I can execute ROTATELOGS.EXE manually so the .EXE file is there.
Any ideas?



Bookmarks