no message
This commit is contained in:
parent
a5160738eb
commit
f2bfd402f8
|
@ -19,9 +19,9 @@ public abstract class AbstractBatchLogger {
|
||||||
private Map<String, Object> concurrentHashMap = new ConcurrentHashMap<String, Object>();
|
private Map<String, Object> concurrentHashMap = new ConcurrentHashMap<String, Object>();
|
||||||
|
|
||||||
public AbstractBatchLogger(Environment environment) {
|
public AbstractBatchLogger(Environment environment) {
|
||||||
//ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);
|
ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);
|
||||||
|
|
||||||
//executor.scheduleAtFixedRate(() -> this.outputData(), Long.parseLong(environment.getProperty("http-logger.initial-delay")), Long.parseLong(environment.getProperty("http-logger.delay")), TimeUnit.SECONDS);
|
executor.scheduleAtFixedRate(() -> this.outputData(), Long.parseLong(environment.getProperty("http-logger.initial-delay")), Long.parseLong(environment.getProperty("http-logger.delay")), TimeUnit.SECONDS);
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract LoggingOutputType logOutputType();
|
public abstract LoggingOutputType logOutputType();
|
||||||
|
|
|
@ -71,5 +71,5 @@ http-logger.initial-delay = 0
|
||||||
http-logger.delay = 10
|
http-logger.delay = 10
|
||||||
http-logger.server-address = http://logstash:31311
|
http-logger.server-address = http://logstash:31311
|
||||||
#############################Elastic Search######################################
|
#############################Elastic Search######################################
|
||||||
elasticsearch.host = localhost
|
elasticsearch.host = elasticsearch-dmp
|
||||||
elasticsearch.port = 9201
|
elasticsearch.port = 9200
|
||||||
|
|
Loading…
Reference in New Issue