Apache basecontainer doesn't log basic auth username
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- Half a day
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- apache, docker
- Domain
- devops, infrastructure
Research direction
Locate the Apache basecontainer configuration containing the shown LogFormat and CustomLog directives, then reproduce the request with the provided curl command and inspect the container log. The work is done when an HTTP Basic-authenticated request logs its username in the %u field without losing the existing log fields.
Written by the indexing model from the issue text.
Description
The Apache basecontainer uses this logging config:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{X-Real-IP}i\"" openconext
CustomLog /proc/self/fd/1 openconext
The %u there should log the HTTP Basic username. However, that never happens.
For example, when querying Manage:
curl -u foo:bar -v -X POST --json '{"ALL_ATTRIBUTES":true}' 'https://manage.acc.surfconext.nl/manage/api/internal/search/saml20_sp' -o /dev/null
[...]
> POST /manage/api/internal/search/saml20_sp HTTP/2
> Host: manage.acc.surfconext.nl
> authorization: Basic c3lzYWRtaW46Qlg1bHBpV0pUbUoycnpoQVo=
[...]
< HTTP/2 200
[...]
The log contains:
May 29 15:08:07 docker1.acc.ams.surfconext.nl managegui[773]: 145.100.191.4 - - [29/May/2026:15:08:06 +0200] "POST /manage/api/internal/search/saml20_sp HTTP/1.1" 200 12906216 "-" "curl/7.88.1" "145.100.183.8"
- Dominant language
- Shell
- Stars
- 0
- Forks
- 1
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenConext/OpenConext-BaseContainers
-
Difficulty 1/5 Under an hour Newbie friendliness 50/100
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
OpenConext/OpenConext-BaseContainers#22 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
All issues in OpenConext/OpenConext-BaseContainers
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·