Getting username from basic auth header for access logs #1069

merged 1 commit into from Jul 8, 2015


None yet

2 participants

brk0v commented Jul 7, 2015

Logging Basic auth username to access log:

curl -u brk0v: -i -k

Logs: - 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
@berkerpeksag berkerpeksag added a commit that referenced this pull request Jul 8, 2015
@berkerpeksag berkerpeksag Adda test case for #1069. da37bcf

Merged and added a test in da37bcf.


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