on master help sign in
Changed logger format
commitd25775a0055f82820498ae8b0f55cc4b7c3b8562 authoriko <ilyakooo0@gmail.com> dateWed 8 May 2019, 13:14 (7 years ago) parentb6e3aa5
1 file changed+1−1
denis/src/Server/Logger.hs+1−1
denis/src/Server/Logger.hs+1−1
@@ -49,7 +49,7 @@ mkWaiLogger buff = let
4949 settings = def {
5050 -- outputFormat = CustomOutputFormatWithDetails (\ date req _ _ tDiff bss bldr ->
5151 -- FL.toLogStr (show date) <> (FL.toLogStr . unpack $ fold bss))
52− outputFormat = Detailed False,
52+ outputFormat = Apache FromHeader,
5353 destination = Callback (atomically . modifyTVar buff . flip insertIntoCyclicBuffer . FL.fromLogStr)
5454 }
5555 in mkRequestLogger settings