Solved

rotatelogs on Windows/Apache

Posted on 2006-07-18
7
207 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 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

792 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