netlify / git-gateway

A Gateway to Git APIs
MIT License
400 stars 89 forks source link

Don't log access token to info level #86

Open tom-sherman opened 11 months ago

tom-sherman commented 11 months ago

- Summary

Info log level is helpful to have in production as it includes request-level logging however I had to turn it off due to logging the access token to this level. Logging this to debug seems like a much more sensible approach.

- Test plan

Just changing the log level.

- Description for the changelog

Change log level of access token logs to debug.

- A picture of a cute animal (not mandatory but encouraged)

Picture of my english bull terrier

My dog 🥰