74 Commits

Author SHA1 Message Date
Alberto González Palomo
8e64e12fed Fix sliced multi-line events
The original multi-line implementation had a problem:
multi-line events got sliced in two when they crossed
the spool size barrier, because the code still counted
each line as a spool entry.
With multi-line entries that is no longer correct.
This fix simply reduces the spaceLeftInSpool variable
only after adding an entry.
2017-03-05 22:49:06 +01:00
Alberto González Palomo
94091a0f9f Multiline joint character inserted between lines.
Without this, lines get joined without any space in between
which is a problem for some line formats as separate words
get jumbled together.
2017-02-01 13:59:46 +01:00
Alberto González Palomo
e1ac798843 Merge multiline feature and clean up indentation. 2017-01-31 14:24:24 +01:00
dsteger
41d973bfba merged Multiline capability 2016-09-18 21:49:52 +02:00
didfet
b469a0e872 Fix nullpointerexception. 2016-08-23 17:47:51 +02:00
didfet
3970ebdba9 Solve #21 2016-08-20 16:25:24 +02:00
didfet
b94203dfab Solve problem with sincedb. 2016-08-08 21:03:55 +02:00
didfet
f44ff80bec Show stack trace when unable to load saved states. 2016-08-08 19:04:51 +02:00
didfet
942c48687d Copied RandomAccessFile code into the util package because of compiler
version in maven dependencies.
2016-08-08 17:26:24 +02:00
didfet
b66a7a939d Copied RandomAccessFile code into the util package because of compiler
version in maven dependencies.
2016-08-06 20:22:50 +02:00
didfet
3757aa7f23 Changed java.io.RandomAccessFile to ucar.unidata.io.RandomAccessFile. 2016-08-06 19:24:21 +02:00
dsteger
f6adafd326 Merge branch 'master' of https://github.com/toliman7/logstash-forwarder-java
# Conflicts:
#	src/main/java/info/fetter/logstashforwarder/FileWatcher.java
#	src/test/java/info/fetter/logstashforwarder/FileWatcherTest.java
2016-06-12 18:36:55 +02:00
toliman7
bd0c146a89 Added multiline support for files. 2016-06-12 18:22:06 +02:00
Jan Pichl
e256f716ce Changed dead time type from int to long 2015-12-14 22:19:45 +01:00
Jan Pichl
3040463cce Repaired sincedb initialization 2015-12-14 22:16:04 +01:00
didfet
b6e2b943ca Fix #18. 2015-11-21 20:15:53 +01:00
didfet
f9eadf5fb4 Fix #17. 2015-10-30 18:22:22 +01:00
didfet
5443fdee69 Fix #16. 2015-09-03 15:04:41 +02:00
didfet
8f082be6c9 Fix bug #14. 2015-07-22 11:47:50 +02:00
didfet
6a405a5e68 Merge branch 'master' of https://github.com/didfet/logstash-forwarder-java.git 2015-07-21 18:38:07 +02:00
didfet
793b0838bc Modification of failed connection error logging. 2015-07-21 18:32:56 +02:00
didfet
6d2aaf00aa Fix default log file size. 2015-06-30 00:57:55 +02:00
didfet
5d54d8ebbd Fix bug #13. 2015-06-26 18:18:44 +02:00
Jan Pichl
5e7f32b732 Repaired error caused by deletion of file with insufficient permissions. 2015-06-22 19:06:36 +02:00
didfet
e055ac61bb Fix bug #11. 2015-06-18 20:48:21 +02:00
didfet
1f594d5206 Fix bug #10. 2015-06-12 18:14:31 +02:00
didfet
29c413d7cb Logging improvements (issue #9). 2015-06-08 16:53:34 +02:00
didfet
a5f884c44f Logging improvements (debugwatcher option). 2015-06-07 22:13:05 +02:00
didfet
a9b7c96178 Fix bug #8. 2015-06-05 18:45:25 +02:00
didfet
56b932ee2e Fix bug #8. 2015-06-04 14:45:41 +02:00
didfet
a9de6757f1 Improved logging performance. 2015-04-09 17:47:51 +02:00
didfet
d6a03cc2fe Implemented stdin input (issue #5). 2015-04-04 23:37:31 +02:00
didfet
69d181dfd0 Implemented stdin input (issue #5). 2015-04-04 23:35:05 +02:00
didfet
1db93560b3 Improved InputReader testing. 2015-04-04 22:41:20 +02:00
didfet
31c6ee6d9f Created InputReader. 2015-04-04 20:17:23 +02:00
didfet
920aa3a31a Log file rename. 2015-04-04 16:33:11 +02:00
didfet
3a0b3acb7a Performance improvement (issue #6) 2015-03-31 17:32:41 +02:00
didfet
12c17e63b2 Corrected memory leak issue #4. 2015-03-24 20:47:14 +01:00
didfet
a36aa2c0d0 Changed logging pattern. 2015-03-24 13:27:01 +01:00
didfet
af9ec174e2 Implemented socket connect and read timeout. 2015-03-24 11:38:19 +01:00
didfet
cb36f31dbd Corrected bug in connection retry. 2015-03-23 17:06:30 +01:00
didfet
bb15f83732 Implemented compressed file detection. 2015-03-22 18:13:10 +01:00
didfet
fd03e33922 Implemented compressed file detection. 2015-03-21 19:30:20 +01:00
didfet
2a0146bbc7 Implemented tail option. 2015-03-21 18:43:36 +01:00
didfet
8c684ebd66 Added AdapterException. 2015-03-19 18:54:33 +01:00
didfet
fbc6bc352e Added -signaturelength option
Bug corrections on saved state loading
Bug corrections on file reading
2015-03-19 18:25:15 +01:00
didfet
850a92cfe1 Implemented connection to random server. 2015-03-19 14:33:31 +01:00
didfet
20366c982e Create new ProtocolAdapter if connection is lost. 2015-03-19 13:19:50 +01:00
didfet
32bf4d7c91 Version 0.1.0. 2015-03-18 23:23:50 +01:00
didfet
f6cb23c09c Implemented FileState serialization/deserialization. 2015-03-18 17:42:03 +01:00