Skip to content

Commit

Permalink
Backport http4s#1985
Browse files Browse the repository at this point in the history
  • Loading branch information
rossabaker committed Aug 11, 2018
1 parent 0930345 commit 48a2cd0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,11 @@ class BlazeBuilder[F[_]](
s"BlazeServer($address)"
}

banner.foreach(logger.info(_))
Option(banner)
.filter(_.nonEmpty)
.map(_.mkString("\n", "\n", ""))
.foreach(logger.info(_))

logger.info(
s"http4s v${BuildInfo.version} on blaze v${BlazeBuildInfo.version} started at ${server.baseUri}")
server
Expand Down

0 comments on commit 48a2cd0

Please sign in to comment.