GF.Server: request logging: increase length limit from 100 500 chars per field

This commit is contained in:
hallgren
2015-03-11 15:56:06 +00:00
parent 02ed9cea8b
commit 9efbe0e47a

View File

@@ -151,7 +151,7 @@ handle logLn documentroot state0 cache execute1 stateVar
return r{resHeaders=("Date",fmt):resHeaders r}
normal_request qs =
do logPutStrLn $ method++" "++upath++" "++show (mapSnd (take 100.fst) qs)
do logPutStrLn $ method++" "++upath++" "++show (mapSnd (take 500.fst) qs)
let stateful m = modifyMVar stateVar $ \ s -> run m (qs,s)
-- stateful ensures mutual exclusion, so you can use/change the cwd
case upath of