Replies: 1 comment 1 reply
-
From reading the code, I think you could set |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
First of a all thanks for creating this beautiful library.
I plan to periodically read generated log files from a remote directory. The logfiles itself are continuously appended. Once a threshold is reached the file is emptied and the appending continues (So the filename stays the same all the time)
In my current approach I do something like the below. I read the full file and check for differences/ new entries afterwards.
While this works I think this is rather bad from a performance/ network perspective. Ideally I would skip reading the 'already read' lines. What happens if I start reading with
ReadAsync()
at another index other than0
? Will the network traffic skipped for the offset bytes? Would that be a way to partially read the file?Beta Was this translation helpful? Give feedback.
All reactions