I want this so badly, please implement

Kapps via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 12 01:51:23 PDT 2016


On Tuesday, 12 April 2016 at 08:37:40 UTC, Kagamin wrote:
> On Thursday, 7 April 2016 at 20:36:28 UTC, Adam D. Ruppe wrote:
>> So a web server dies with a RangeError because of some POST 
>> data. What was the user submission that killed it? POST data 
>> isn't ordinarily logged, so I have no idea and cannot 
>> reproduce.
>
> What's the reason to not log POST request on error? It's a 
> plain string, should be trivial to log.

Amongst other things, you'd log sensitive data like passwords, 
which should never be stored anywhere in plain text, including 
log files. This is one of the reasons to not use GET for anything 
sensitive.


More information about the Digitalmars-d mailing list