• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Apache Log File

Dont think it can be done through Apache...

You can however, create a daily job that renames the apache log file to something else...
 
Originally posted by: BCYL
Dont think it can be done through Apache...

You can however, create a daily job that renames the apache log file to something else...

There are programs out there that do this, log rotation. Can't remember if Apache comes with one or not...
 
logrotate usually comes with most Linux distros, just set it up to rotate Apache daily. You'll probably also have to up the number of old logs it keeps around.
 
4000th post :Q

in my c:\program files\apache2\bin directory is a "rotatelogs.exe" file.. looks easy enough to use:
C:\Program Files\Apache Group\Apache2\bin>rotatelogs.exe /?
Usage: rotatelogs.exe <logfile> <rotation time in seconds> [offset minutes from
UTC] or <rotation size in megabytes>

Add this:

TransferLog "|rotatelogs.exe /some/where 86400"

or

TransferLog "|rotatelogs.exe /some/where 5M"

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. if using a rotation time,
the 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 or when the file size
is reached a new log is started.

C:\Program Files\Apache Group\Apache2\bin>
 
Back
Top