mirror of
https://github.com/Febbweiss/logstash-forwarder-java.git
synced 2026-03-04 14:15:42 +00:00
Merge branch 'master' of https://github.com/didfet/logstash-forwarder-java.git
This commit is contained in:
@@ -58,4 +58,7 @@ There are a few more options :
|
||||
- debug : turn on debug logging level
|
||||
- trace : turn on trace logging level
|
||||
- signaturelength : size of the block used to compute the checksum
|
||||
- logfile : send logs to this file instead of stdout
|
||||
- logfilesize : maximum size of each log file (default 10M)
|
||||
- logfilenumber : number of rotated log files (default 5)
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ public class Forwarder {
|
||||
private static int signatureLength = 4096;
|
||||
private static boolean tailSelected = false;
|
||||
private static String logfile = null;
|
||||
private static String logfileSize = "10M";
|
||||
private static String logfileSize = "10MB";
|
||||
private static int logfileNumber = 5;
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user