Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

no control over snap-server exceptions (and logging of HTTP params) #135

Open
pheaver opened this Issue · 0 comments

1 participant

@pheaver

You can set an exception handler in the Config, but it only applies to some exceptions. Snap.Internal.Http.Server.httpSession catches and logs exceptions, and it includes the HTTP params in the request. The params contain sensitive information that we must not log, so our only options are:

  • Turn off all logging with setErrorLog ConfigNoLog
  • Define an error log action that attempts to parse the message and find sensitive params (yikes!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.