"Stealing" File Handles

For a project I am working on, i need to read from a log file in real time to keep track of program activity. Problem is, the log only flushes when the buffer of log messages reaches a certain size. Currently, I have a FileSystemWatcher class to notify me when the log flushes, at which point i copy the log file and scan for relevant entries. Is there a way to read the log messages as they are sent to the file IO buffer?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!