October 31, 200817 yr comment_6805 Hi gang, I'm trying to get rotatelogs working so that I don't have to shut down the server in order to change the log files, but not having any success. I've tried the following:CustomLog "|bin/rotatelogs logs/access.%Y.%m.%d 86400" combinedandCustomLog "|bin/rotatelogs.exe logs/access.%Y.%m.%d 86400" combinedandCustomLog "|rotatelogs logs/access.%Y.%m.%d 86400" combinedandCustomLog "|rotatelogs.exe logs/access.%Y.%m.%d 86400" combinedas well as various logfile names, but nothing: the server refuses to start unless I comment this out and reinstate the previous CustomLog definition. Does anyone here know what I'm doing wrong? I'm using Apollo on Vista Home Premium. Many thanks,Paul. Report
October 31, 200817 yr Author comment_6807 Well, I've been playing around with it, and I can get rotatelogs working if I use the line:CustomLog "|w:/usr/local/apache2/bin/rotatelogs.exe w:/usr/local/apache2/logs/access.%Y.%m.%d 86400" combined i.e. specify the explicit path. But this isn't really in-keeping with the spirit of Uniform Server, and I'd like to remove the explicit paths. Can someone tell me what I need to do to do this please? The Apache documentation seems to indicate that my original format should have worked, but it doesn't. Regards,Paul. Report
October 31, 200817 yr comment_6808 Try this: CustomLog "|/usr/local/apache2/bin/rotatelogs.exe /usr/local/apache2/logs/access.%Y.%m.%d 86400" combined All the bestRic Report
October 31, 200817 yr Author comment_6809 Try this: CustomLog "|/usr/local/apache2/bin/rotatelogs.exe /usr/local/apache2/logs/access.%Y.%m.%d 86400" combined All the bestRicPerfect! It's easy when you know how! Thanks Ric. Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.