Re: Trouble with rotatelogs win32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 20, 2008 at 9:15 AM, Iuri Fiedoruk <protomank@xxxxxxxxx> wrote:
> 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).

prefork? On windows? You're not doing something silly like using
cygwin or something, are you? If so, then all bets are off.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux