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: WAMP Config; Apache 2.4.4 Access Log Rotation Issues |
|
Author |
|
JayNak
Joined: 06 Jun 2014 Posts: 1
|
Posted: Fri 06 Jun '14 20:42 Post subject: WAMP Config; Apache 2.4.4 Access Log Rotation Issues |
|
|
Hi,
I have put up a WAMP server that is based on Apache2.4.4. I am trying to utilize the rotatelogs.exe to rotate my access log every night. I have this working on IBM HTTP installations. IBM's HTTP is based on Apache 2.2. Can someone assist me in figuring out why the CustomLog command is not working? The command under my Virtual Hosts that I am using is:
<VirtualHost *:80>
ServerName xxxxxxxx
DocumentRoot C:\wamp\www
LogLevel info
CustomLog "| c:/wamp/bin/apache/Apache2.4.4/bin/rotatelogs.exe -l c:/wamp/logs/ELH/access_elh_%Y-%m-%d-%H-%M.log 86400" combined
</VirtualHost>
I have also tried this without going to the elh sub-directory via:
CustomLog "| c:/wamp/bin/apache/Apache2.4.4/bin/rotatelogs.exe -l c:/wamp/logs/access_elh_%Y-%m-%d-%H-%M.log 86400" combined |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sat 28 Jun '14 12:03 Post subject: |
|
|
Did you try your command on the command line?
Also between the pipe | and the C: should be no witespace |
|
Back to top |
|
|
|
|
|
|