logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: rotalelog file date is wrong
Author
Otomatic



Joined: 01 Sep 2011
Posts: 156
Location: Paris, France, EU

PostPosted: Mon 28 Apr '14 16:53    Post subject: rotalelog file date is wrong Reply with quote

Hi,
Apache 2.4.9 - Windows 7 Pro 64 bit
(Today April 28 2014)
In httpd.conf file, there is
Code:
CustomLog "|bin/rotatelogs.exe -l J:/wamp/logs/access-%Y-%m-%d_Semaine_%W.log 604800" common

%d for Two-digit day of the month (with leading zeros) 01 to 31
%W A numeric representation of the week of the year

The created file is "access-2014-04-24_Semaine_16.log"
There are :
- 24 for the day instead of 28
- 16 for the week instead of 17
Why?
How to correct this?
Back to top


Reply to topic   Topic: rotalelog file date is wrong View previous topic :: View next topic
Post new topic   Forum Index -> Apache