ch.qos.logback.classic.pattern.ThrowableProxyConverter Java Examples
The following examples show how to use
ch.qos.logback.classic.pattern.ThrowableProxyConverter.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EcsEncoder.java From ecs-logging-java with Apache License 2.0 | 5 votes |
@Override public void start() { super.start(); throwableProxyConverter = new ThrowableProxyConverter(); throwableProxyConverter.start(); eventDataset = EcsJsonSerializer.computeEventDataset(eventDataset, serviceName); }
Example #2
Source File: IrisLayout.java From arcusplatform with Apache License 2.0 | 5 votes |
public IrisLayout() { super.setPattern("%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"); this.converter = new ThrowableProxyConverter(); this.converter.setOptionList(STACK_TRACE_OPTIONS); this.converter.start(); setType(System.getenv("IRIS_LOGTYPE")); }
Example #3
Source File: Gateway.java From arcusplatform with Apache License 2.0 | 5 votes |
@Inject @SuppressWarnings("null") public Gateway(Router router) { WatchdogService.addWatchdogCheck(new ConnectionWatchdogCheck()); this.router = router; this.networkChecker = new GatewayNetworkChecker(primaryConnection, secondaryConnection, currentConnection); this.queue = new GatewayOutboundQueue(); this.primaryPingSender = new PingSender(true); this.secondaryPingSender = new PingSender(false); this.logSender = new LogSender(); this.converter = new ThrowableProxyConverter(); this.converter.setOptionList(STACK_TRACE_OPTIONS); this.converter.start(); this.primaryBackoff = Backoffs.exponential() .initial(0, TimeUnit.SECONDS) .delay(1, TimeUnit.SECONDS) .factor(2.0) .random(0.67) .max(90, TimeUnit.SECONDS) .build(); this.secondaryBackoff = Backoffs.exponential() .initial(9, TimeUnit.SECONDS) .delay(1, TimeUnit.SECONDS) .factor(2.0) .random(0.67) .max(90, TimeUnit.SECONDS) .build(); }
Example #4
Source File: IrisLayout.java From arcusplatform with Apache License 2.0 | 5 votes |
public IrisLayout() { this.converter = new ThrowableProxyConverter(); this.converter.setOptionList(STACK_TRACE_OPTIONS); this.converter.start(); this.object = new JsonObject(); }