mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-17 21:35:48 +01:00
Use FromFallback for proper IPs in logs
This commit is contained in:
parent
a31b6dea81
commit
f0377d4f26
@ -92,7 +92,7 @@ makeApplication echo@False conf = do
|
|||||||
{ outputFormat =
|
{ outputFormat =
|
||||||
if development
|
if development
|
||||||
then Detailed True
|
then Detailed True
|
||||||
else Apache FromSocket
|
else Apache FromFallback
|
||||||
, destination = RequestLogger.Logger $ loggerSet $ appLogger foundation
|
, destination = RequestLogger.Logger $ loggerSet $ appLogger foundation
|
||||||
}
|
}
|
||||||
-- Create the WAI application and apply middlewares
|
-- Create the WAI application and apply middlewares
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user