Solved

rotatelogs on Windows/Apache

Posted on 2006-07-18
7
198 Views
Last Modified: 2010-03-04
rotatelogs is locking the log files while I need to read them by another application, any clue on how to unlock them?
0
Comment
Question by:last
  • 2
  • 2
7 Comments
 
LVL 4

Expert Comment

by:Tol_cv
Comment Utility
how are you rotating logs?

are you using a piping program like  apache rotatelogs?
0
 

Author Comment

by:last
Comment Utility
yes
0
 
LVL 4

Expert Comment

by:Tol_cv
Comment Utility
in this case the error is strange because   logs should not be locked.  the files are available to be read by  other applications - like log  statistic generation ..
0
 

Author Comment

by:last
Comment Utility
is there a way to forward apache ( on windows) logs to a syslog server
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 150 total points
Comment Utility
That's your problem! You're using Windows:)

You could use a Windows Cron to rotate the logs for you:

http://www.kalab.com/freeware/cron/cron.htm

(   (()
(`-' _\
 ''  ''

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now