Hello, I am working on a project that uses Apache 2.2 server with prefork and I`m having some problems with rotatelogs on windows platform, any help is welcome.
First our log system is configured to rotate when files reach 5MB as follows? CustomLog "|C:/apache/bin/rotatelogs.exe C:/apache/access_log 5M" common Most of the problems would be solved by using timely rotation, but unfortunately this is not a option. 1. Each new log file is generated with a number after it like error_log.2345345, so I don`t know what is the file name PHP should fopen. Also, each time the apache is restarted a new file is generate, before it reaches the 5MB limit. 2. Each process (prefork remeber?) creates it`s own error log with a name like error_log.2345345_24, error_log.2345345_26. Is there a way to make rotatelog bahave like in linux (no numbering, file reaches 5MB, rename to .old, create a new log file). -- Iuri Fiedoruk, Analista de Sistemas T&T. Porto Alegre, RS, Brasil.