Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

rotatelogs on Windows/Apache

Posted on 2006-07-18
7
Medium Priority
?
233 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
ID: 17129714
how are you rotating logs?

are you using a piping program like  apache rotatelogs?
0
 

Author Comment

by:last
ID: 17130880
yes
0
 
LVL 4

Expert Comment

by:Tol_cv
ID: 17131483
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
ID: 17138353
is there a way to forward apache ( on windows) logs to a syslog server
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 600 total points
ID: 17211276
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month12 days, 14 hours left to enroll

971 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