aungwinthant / apilogger

Small laravel package for viewing api logs which can be used in debugging.
MIT License
346 stars 61 forks source link

Implement skipping secrets logging #25

Closed t1sh0o closed 4 years ago

t1sh0o commented 4 years ago

This PR adds config option which lets you specify which fields should not be logged.

nullifiedaccount3 commented 4 years ago

This is great. @aungwinthant Please look into this PR.

AbbyJanke commented 4 years ago

Easier way to do this then creating a whole payload function.

Changing $request->all() to $request->exclude(config('apiloger.blacklist')) then having the array in the config. Already tested it on a custom fork of it.