Skip to content

Commit

Permalink
the low level logger should be off by default. logback config should …
Browse files Browse the repository at this point in the history
…be set to info to not log during tests.
  • Loading branch information
gciuloaica committed Feb 28, 2022
1 parent 7d6457d commit 3a32285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zio-http/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</encoder>
</appender>

<root level="debug">
<root level="info">
<appender-ref ref="STDOUT"/>
</root>

Expand Down
2 changes: 1 addition & 1 deletion zio-http/src/main/scala/zhttp/service/Server.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

/**
Expand Down

1 comment on commit 3a32285

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Performance Benchmark:

Concurrency: 256
Requests/sec: 942256.69

Please sign in to comment.