mirror of
https://github.com/Febbweiss/logstash-forwarder-java.git
synced 2026-03-04 22:25:39 +00:00
Fix bug #8.
This commit is contained in:
@@ -64,7 +64,7 @@ public class FileState {
|
||||
private void setFileFromDirectoryAndName() throws FileNotFoundException {
|
||||
file = new File(directory + File.separator + fileName);
|
||||
if(file.exists()) {
|
||||
randomAccessFile = new RandomAccessFile(file, "r");
|
||||
randomAccessFile = null;
|
||||
lastModified = file.lastModified();
|
||||
size = file.length();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user