From 3a32285df8dc06d0e360240919b158665a7a641f Mon Sep 17 00:00:00 2001 From: Gabriel Ciuloaica Date: Mon, 28 Feb 2022 11:26:19 +0200 Subject: [PATCH] the low level logger should be off by default. logback config should be set to info to not log during tests. --- zio-http/src/main/resources/logback.xml | 2 +- zio-http/src/main/scala/zhttp/service/Server.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zio-http/src/main/resources/logback.xml b/zio-http/src/main/resources/logback.xml index dc6eaa1326..bd3b74b6c2 100644 --- a/zio-http/src/main/resources/logback.xml +++ b/zio-http/src/main/resources/logback.xml @@ -7,7 +7,7 @@ - + diff --git a/zio-http/src/main/scala/zhttp/service/Server.scala b/zio-http/src/main/scala/zhttp/service/Server.scala index b526c1024b..0f46272846 100644 --- a/zio-http/src/main/scala/zhttp/service/Server.scala +++ b/zio-http/src/main/scala/zhttp/service/Server.scala @@ -165,7 +165,7 @@ object Server { flowControl: Boolean = true, channelInitializer: ChannelPipeline => Unit = null, requestDecompression: (Boolean, Boolean) = (false, false), - logLevel: LogLevel = LogLevel.DEBUG, + logLevel: LogLevel = LogLevel.OFF, ) /**