vacationlabs / haskell-webapps

Proof-of-concept code for a typical webapp implemented in various Haskell libraries/frameworks
MIT License
134 stars 21 forks source link

Request / response logging #11

Open saurabhnanda opened 7 years ago

saurabhnanda commented 7 years ago
sudhirvkumar commented 7 years ago

I believe logging will also be using Show instance, so instead of deriving show, we can create our own instance for show and there we can filter the sensitive info from the show / log. If its sensitive enough then I guess we should take enough care to write a instance for show for that particular Type?

let me know if I am wrong. I will also do some searching...

I will think about the rest of the list and comment when I have some ideas