Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running the following command in my powershell terminal:

Get-Content C:\wamp\bin\apache\apache2.2.22\logs\lysol-dbau.access.log -Tail 10 -Wait

So I want to start with the last 10 lines of the file and then display changes as they occur. However, log display is not updating, even when the log file is being updated by Apache. Thoughts? Should this be working?

share|improve this question
    
    
Kind of a useless comment seeing as I did exactly that, and implemented the use of Tail as is explained at the very bottom of that page. –  Lester Peabody Feb 1 '13 at 19:43
    
I think the command you show should work. It could have something to do with how apache is flushing the log to disk. –  zdan Feb 1 '13 at 21:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.