On Tuesday, 12 April 2016 at 08:37:40 UTC, Kagamin wrote:
What's the reason to not log POST request on error? It's a plain string, should be trivial to log.

It is possible (and sometimes I do it, especially on an exception catcher) but it isn't customary because of things like sensitive things like passwords and credit card numbers, and because of large pieces of data like file uploads.

Of course, these can be filtered out of an error log... but with the file upload, wouldn't it be nice to know where the error occurred so you can filter around it?



BTW so I opened a PR with an implementation. At least there was a comment on it, though not one I'm satisfied with.

https://github.com/D-Programming-Language/dmd/pull/5637

I'm just gonna fork the language eventually.

Reply via email to