Problems reading the Log-Files

fnole12

New Member
Hello
Im a C# Developer. Right now im trying to create an application which is supposed to read the Log-Files in Order to recognize when the Replay-Buffer mode is beeing activated. This is supposed to happen in Real-Time.
My Problem here is that it seems like the "LastAccess"-Event of these Log-Files isn't beeing updated until I manually open them or close OBS.
Could some one help me? I know this is a very niche problem.
Any help is appreciated
 

dodgepong

Administrator
Community Helper
Can you explain your use case a bit more? Just to make sure there isn't a better way to do what you're trying to do.
 

fnole12

New Member
so what i am trying to do here is to create a notification when the replay buffer has been activated
my idea was that my application could try to read the log files but the problem is that it cant tell when the log-File was beeing edited.
I dont want my application to constantly check that so i tried using the FileSystemWatcher in C# to find that out but that doesnt seem to work here.
 
Top