How do you read a file which is in use?

Viewed 34022

I have a small problem. I have a tool which should parse a log file daily, unfortunately this log file is in use by the process which writes to the log and I cannot stop it.

First try was to create a copy of the file, which is not working either.

Is there any way for me to read the current text of the log file, even if it is already in use?

5 Answers
Related