Solved

rotatelogs on Windows/Apache

Posted on 2006-07-18
7
222 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 150 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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

623 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