httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Nelson" <pete.nel...@ci.stpaul.mn.us>
Subject Re: Cronolog under Windows Frustration
Date Thu, 14 Mar 2002 14:29:42 GMT
Ah, the joys of a CPM, er, I mean, DOS file system!

I have a perl script that puts my log to a database under windows.

CustomLog "|perl D:/Apache/logs/logger.pl" cookie

And that seems to work for me.  But I'm suspicious it's the argument to
cronlog that's giving it trouble. Unfortunatly, I don't have the
'cronlog' program to test it, but I would try the following:

CustomLog "| e:/apache/bin/cronolog
e:\\apache\\logs\\%m\\%d\\access.log" common

This is a guess, but I know I have to do something similar with the
'\\' when I insert php directives via httpd.conf (which expects
backslashes on windows).

I hope this works for you!

--
Pete Nelson, Web Developer
<pete.nelson@ci.stpaul.mn.us>
http://www.ci.stpaul.mn.us/

>>> c2z4s10@yahoo.com 03/14/02 08:20AM >>>
To The Wise,

	I was charged with setting up a farily simple log rotation
scheme.  Simple
enough, I thought to myself, and proceeded in placing a line in my
httpd.conf file very much like the following

	CustomLog "| e:\apache\bin\cronolog
e:\apache\logs\%m\%d\access.log" common

pretty simple I thought.  Unless I am mistaken this format looked very
much
like every other example I have seen for piping log data to a program.
Unfortunately it will not work.  It simply will not work.  I have
tried
every different form that I could think of.  Because this system IS
running
on windows I attempted at changing slashes but that produced no
noticable
change.  Cronolog and Rotatelogs work fine independant of Apache.  I
tested
each of them and found no error.  I put quotation marks in crazily as
my
mind bordered sanity, I tried changing case, and putting in the
extension
for the exec file.  I tried placing cronolog in the path of the system
(Win98).  I even Set up a WinNT 4.0 machine and did all of the above
experiments again!  It simply... Will Not Work.  Never in my mind did
I
think that something this simple would waste so much of my time.  The
worst
part about it is that with my luck it will be the simplest, dumbest,
mind
numbing thing.  But I must know now... what I have been doing wrong.



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org 
For additional commands, e-mail: users-help@httpd.apache.org 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message