How does one log Akka HTTP client requests
One of the solution I’ve found is to use a: import akka.http.scaladsl.server.directives.DebuggingDirectives val clientRouteLogged = DebuggingDirectives.logRequestResult(“Client ReST”, Logging.InfoLevel)(clientRoute) Http().bindAndHandle(clientRouteLogged, interface, port) Which can easily log the request and result in raw(bytes) format. The problem is that those logs are completely unreadable. And here is place where it became complicated. Here is my example that encode … Read more