Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SKARA-971: Stop clumping up logs in logstash #1120

wants to merge 8 commits into from
@@ -22,7 +22,7 @@
package org.openjdk.skara.bots.cli;

import java.time.LocalDate;
import java.time.Instant;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import org.openjdk.skara.args.*;
@@ -44,7 +44,7 @@

public class BotLauncher {
private static Logger log;
private static final LocalDate START_TIME =;
private static final Instant START_TIME =;

private static void applyLogging(JSONObject config) {
@@ -102,7 +102,7 @@ private static void applyLogging(JSONObject config) {
var dateTimeFormatter = DateTimeFormatter.ISO_INSTANT
handler.addExtraField("instance_start_time", START_TIME.format(dateTimeFormatter));
handler.addExtraField("instance_start_time", dateTimeFormatter.format(START_TIME));