We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Using rotatelogs.exe functon with Apache 2.0 On Windows 2K3

eroute
eroute asked
on
Medium Priority
1,269 Views
Last Modified: 2007-12-19
The file location of rotatelogs.exe has spaces in it and so does the log file, how do I enclose it in the command

"|C:\Program Files.....

Also, what's the proper command to have the log file reset every 24 hours

Comment
Watch Question

Top Expert 2008
Commented:
Try to use a MS-DOS path, e.g.

CustomLog "| D:\Progra~1\Apache~1\Apache\bin\rotatelogs.exe .....
or relative to the ServerRoot
CustomLog "|bin/rotatelogs.exe .....

>Also, what's the proper command to have the log file reset at 12AM

use the command 12M
CustomLog "|...rotatelogs.exe ....logfile 12M" common

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
I'm only getting the word common line by line in the log files...

Author

Commented:
Nevermind, I got it, thanks.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.