mirror of
https://github.com/typeable/wai.git
synced 2025-01-01 02:38:45 +03:00
Use flusher for Apache outputFormat
This commit is contained in:
parent
5548e7fe8c
commit
d28375e069
@ -98,7 +98,7 @@ mkRequestLogger RequestLoggerSettings{..} = do
|
||||
case outputFormat of
|
||||
Apache ipsrc -> do
|
||||
getdate <- getDateGetter flusher
|
||||
apache <- initLogger ipsrc (LogCallback callback (return ())) getdate
|
||||
apache <- initLogger ipsrc (LogCallback callback flusher) getdate
|
||||
return $ apacheMiddleware apache
|
||||
Detailed useColors -> detailedMiddleware
|
||||
(\str -> callback str >> flusher)
|
||||
|
Loading…
Reference in New Issue
Block a user