Web Servers on Windows - Apache "rotatelogs" files on windows shows the wrong date

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > February 2006 > Apache "rotatelogs" files on windows shows the wrong date





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache "rotatelogs" files on windows shows the wrong date
carmstrong@cbamedia.com

2006-02-09, 8:49 pm

I'm running Apache2 on windows. I've set up the logs to use the
"rotatelogs" program in the apache bin directory. The logs are written
with a year-month-day (%Y-%m-%d) file name. The strange thing though,
is that it writes those files with a different date then what it
currently is. Right now it is 2006-02-09, but apache (rotatelogs) is
writing the file as 2006-22-01. Anybody know what this might be
happening? Or where/what I can change so that the apache "rotatelogs"
program uses the correct date?

FYI, the times in the logs themselves are correct. I've also verified
that the windows system clock is correct as well.

Thanks

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com