I don't know what constitutes a full log file but I'm assuming that it is when it reaches a certain size, so you'd use a FileSystemWatcher, set its Path and Filter properties so it watches the appropriate file and then handle its Changed event. In the event handler you'd test the size of the file and act accordingly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.