on master help sign in
Merge branch 'master' into user-registration
46a6743iko
denis/src/Server/Logger.hs+1−1
@@ -49,7 +49,7 @@ mkWaiLogger buff = let
49 settings = def {
49 settings = def {
50 -- outputFormat = CustomOutputFormatWithDetails (\ date req _ _ tDiff bss bldr ->
50 -- outputFormat = CustomOutputFormatWithDetails (\ date req _ _ tDiff bss bldr ->
51 -- FL.toLogStr (show date) <> (FL.toLogStr . unpack $ fold bss))
51 -- FL.toLogStr (show date) <> (FL.toLogStr . unpack $ fold bss))
52− outputFormat = Apache FromHeader,
52+ outputFormat = Detailed False,
53 destination = Callback (atomically . modifyTVar buff . flip insertIntoCyclicBuffer . FL.fromLogStr)
53 destination = Callback (atomically . modifyTVar buff . flip insertIntoCyclicBuffer . FL.fromLogStr)
54 }
54 }
55 in mkRequestLogger settings
55 in mkRequestLogger settings