Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Apache for Windows log problem |
|
Author |
|
kevin527
Joined: 19 Mar 2022 Posts: 2 Location: UK, london
|
Posted: Tue 22 Mar '22 13:54 Post subject: Apache for Windows log problem |
|
|
Hi All,
I have a strange problem where the access.log and the error.log files are empty. I use logrotate and the previous days logs always work as they should, fully populated. I'm not sure where the solution might be |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7374 Location: Germany, Next to Hamburg
|
Posted: Tue 22 Mar '22 15:06 Post subject: |
|
|
Please post the relevant config part and your apache version |
|
Back to top |
|
kevin527
Joined: 19 Mar 2022 Posts: 2 Location: UK, london
|
Posted: Tue 22 Mar '22 15:17 Post subject: |
|
|
Certainly:
ErrorLog "|bin/rotatelogs.exe -l C:/Apache24/logs/error.%d.%m.%y.log 86400"
CustomLog "|bin/rotatelogs.exe -l C:/Apache24/logs/access.log.%d-%m-%y.log 86400" combined
The version is 2.4 on a Windows server
We have two virtual hosts but logging hasn't been enabled on these individually
Thanks in advance |
|
Back to top |
|
|
|
|
|
|