Reading (log) a file without blocking renaming / moving for other processes

I need to read the log files at the time of writing. the problem is that these log files will be renamed at some point in time, and I have to guarantee that this renaming operation is possible / the java reading process does not block it.

how to do it

+6
java file-io
source share
1 answer

You can copy to RAM and read from copy

0
source share

All Articles