I'm trying to redirect windows event log continuously into a file.
psloglist.exe has the -w feature (that listens for new events and outputs to console) so I tried combining it with redirection into a file like so:
psloglist -w > out.txt
It doesn't work. As new events are logged they do not show up in the file.
However, if I remove
> out.txt new events do shows up in the console!