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: Apache for Windows log problem
Author
kevin527



Joined: 19 Mar 2022
Posts: 2
Location: UK, london

PostPosted: Tue 22 Mar '22 13:54    Post subject: Apache for Windows log problem Reply with quote

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

PostPosted: Tue 22 Mar '22 15:06    Post subject: Reply with quote

Please post the relevant config part and your apache version
Back to top
kevin527



Joined: 19 Mar 2022
Posts: 2
Location: UK, london

PostPosted: Tue 22 Mar '22 15:17    Post subject: Reply with quote

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


Reply to topic   Topic: Apache for Windows log problem View previous topic :: View next topic
Post new topic   Forum Index -> Apache