Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Browse other questions tagged .