You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "\"Crash\" Dummy" <gm...@thedatalist.com> on 2007/07/24 21:55:55 UTC
[users@httpd] Newbie problem with rotatelogs
I have set up logging in my httpd.conf file as follows
CustomLog logs/access.log common
CustomLog "L:/apache/bin/rotatelogs logs/access.log 900" common
I set up access.log in the first line a few days ago, and it works fine. Today I
decided to rotate the log using the instruction in the second line, but when I
restart to activate the new configuration, I get this in the error log:
The system cannot find the path specified. : could not open transfer log file
L:/Apache/bin/rotatelogs logs/access.log 900.
The executable rotatelogs.exe is indeed in the L:/apache/bin folder. What am I
missing?
--
Crash
---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] Re: Newbie problem with rotatelogs
Posted by "\"Crash\" Dummy" <gm...@thedatalist.com>.
>> The executable rotatelogs.exe is indeed in the L:/apache/bin folder.
>> What am I missing?
> A pipe |.
> Without it, the entire quoted argument is taken as a filename.
Ohh, THAT's what that thingy is! I didn't understand it, so I ignored it. I'll
go back and RTFM. Again. Thanks!
--
Crash
---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Newbie problem with rotatelogs
Posted by Nick Kew <ni...@webthing.com>.
On Tue, 24 Jul 2007 15:55:55 -0400
"\"Crash\" Dummy" <gm...@thedatalist.com> wrote:
> The executable rotatelogs.exe is indeed in the L:/apache/bin folder.
> What am I missing?
A pipe |.
Without it, the entire quoted argument is taken as a filename.
--
Nick Kew
Application Development with Apache - the Apache Modules Book
http://www.apachetutor.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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org