Read (log)file without locking renaming/moving for other processes
i have to read log-files at the moment th开发者_JS百科ey are written. the problem is, this 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 is not locking it.
how to do this
You can copy to RAM and read from copy
精彩评论