diff options
Diffstat (limited to 'jdisc_http_service/src/main/java/com/yahoo/container/logging/SimpleConnectionLog.java')
-rw-r--r-- | jdisc_http_service/src/main/java/com/yahoo/container/logging/SimpleConnectionLog.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/jdisc_http_service/src/main/java/com/yahoo/container/logging/SimpleConnectionLog.java b/jdisc_http_service/src/main/java/com/yahoo/container/logging/SimpleConnectionLog.java deleted file mode 100644 index ea6db42aa16..00000000000 --- a/jdisc_http_service/src/main/java/com/yahoo/container/logging/SimpleConnectionLog.java +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. - -package com.yahoo.container.logging; - -import java.util.logging.Level; -import java.util.logging.Logger; - -/** - * @author mortent - */ -public class SimpleConnectionLog implements ConnectionLog { - - private static final Logger logger = Logger.getLogger(SimpleConnectionLog.class.getName()); - - @Override - public void log(ConnectionLogEntry connectionLogEntry) { - try { - System.out.println(connectionLogEntry.toJson()); - } catch (Exception e) { - logger.log(Level.WARNING, "Unable to write connection log entry for connection id " + connectionLogEntry.id(), e); - } - } -} |