Use FromFallback for proper IPs in logs

This commit is contained in:
Michael Snoyman 2014-11-17 12:30:16 +02:00
parent a31b6dea81
commit f0377d4f26

View File

@ -92,7 +92,7 @@ makeApplication echo@False conf = do
{ outputFormat =
if development
then Detailed True
else Apache FromSocket
else Apache FromFallback
, destination = RequestLogger.Logger $ loggerSet $ appLogger foundation
}
-- Create the WAI application and apply middlewares