New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting username from basic auth header for access logs #1069

Merged
merged 1 commit into from Jul 8, 2015

Conversation

Projects
None yet
2 participants
@brk0v

brk0v commented Jul 7, 2015

Logging Basic auth username to access log:

curl -u brk0v: -i -k https://api.example.com/v1/api-call

Logs:

127.0.0.1 - brk0v [07/Jul/2015:23:37:34 +0300] "GET /v1/api-call HTTP/1.1" 200 307 "-" "curl/7.21.3 libcurl/7.21.3"

@berkerpeksag berkerpeksag merged commit 5f3dc8e into benoitc:master Jul 8, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

berkerpeksag added a commit that referenced this pull request Jul 8, 2015

@berkerpeksag

This comment has been minimized.

Show comment
Hide comment
@berkerpeksag

berkerpeksag Jul 8, 2015

Collaborator

Merged and added a test in da37bcf.

Thanks!

Collaborator

berkerpeksag commented Jul 8, 2015

Merged and added a test in da37bcf.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment