Newbie problem with rotatelogs

This is a discussion on Newbie problem with rotatelogs within the Apache Web Server forums, part of the Web Server and Related Forums category; I have set up logging in my httpd.conf file as follows CustomLog logs/access.log common CustomLog "L:/...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-24-2007
\Crash\ Dummy
 
Posts: n/a
Default 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


  #2 (permalink)  
Old 07-24-2007
\Crash\ Dummy
 
Posts: n/a
Default Never mind

I got it. I forgot the pipe.
--
Crash


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:07 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0