Skip to content

Commit 5701511

Browse files
Redirect all output from proxy to stdout
And enable access log logging in keycloak
1 parent 4b4899f commit 5701511

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

selenium/bin/components/keycloak

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ start_keycloak() {
4141
--publish 8443:8443 \
4242
--env KEYCLOAK_ADMIN=admin \
4343
--env KEYCLOAK_ADMIN_PASSWORD=admin \
44+
--env QUARKUS_HTTP_ACCESS_LOG_ENABLED=true \
4445
-v ${MOUNT_KEYCLOAK_CONF_DIR}:/opt/keycloak/data/import/ \
45-
${KEYCLOAK_DOCKER_IMAGE} start-dev --import-realm \
46+
${KEYCLOAK_DOCKER_IMAGE} start-dev --import-realm --log-level=INFO \
4647
--https-certificate-file=/opt/keycloak/data/import/server_keycloak_certificate.pem \
4748
--https-certificate-key-file=/opt/keycloak/data/import/server_keycloak_key.pem
4849

selenium/test/oauth/forward-proxy/httpd.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ LogLevel warn
144144
ProxyRequests On
145145
ProxyVia On
146146
LogLevel debug
147-
ErrorLog error_forward_proxy.log
148-
CustomLog access_forward_proxy.log combined
147+
ErrorLog /dev/stderr
148+
CustomLog /dev/stdout combined
149149

150150
<Proxy "*">
151151
Allow from all

0 commit comments

Comments
 (0)