Quantcast
Viewing all articles
Browse latest Browse all 1367

Disabling illegal request logs for production

@huntc wrote:

When using Akka HTTP server-side in production, I’m noticing the following in my logs:

WARN  ActorSystemImpl - Illegal request, responding with status '400 Bad Request': Cannot establish effective URI of request to `/`, request has a relative URI and is missing a `Host` header: consider setting `akka.http.server.default-host-header`

Is there a way to disable such warnings? I’m not in control of these requests coming in from the outside, and they’re just polluting my logs.

Note that I’ve already turned off header warnings: akka.http.server.parsing.illegal-header-warnings=off.

Thanks for any assistance.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1367

Trending Articles