Skip to content

Commit 96082ad

Browse files
committed
Define environment variable for enabling HTTP access logging
1 parent a9e1104 commit 96082ad

File tree

6 files changed

+13
-2
lines changed

6 files changed

+13
-2
lines changed

.env.local.secret

9 Bytes
Binary file not shown.

.env.playwright.secret

12 Bytes
Binary file not shown.

.env.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ VITE_SENTRY_AUTH_TOKEN=
4141
ROARR_LOG=true
4242
ROARR_MIN_LOG_LEVEL=info
4343
ROARR_SHOW_DEBUG_CONTEXT=false
44+
ROARR_ACCESS_LOG=false
45+

.gitsecret/paths/mapping.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
.env.local:7120465370f2ae6a73ceff135009f166388970337aaccd55168a8e09413396dd
2-
.env.playwright:e5ed05cadd8c2be2db8c0574fb3ef9435e6d1146ed3a53a623f483889ef8c22b
1+
.env.local:ae055e688bd77cea8f52cea6ab36a0038b6374d2425526996d398c797f703d14
2+
.env.playwright:ae1afa4ec916e6c9ce9476856be19236d9f664512aba3d24e2df0ea14e210cbd

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ Backend only
143143
- Optional
144144
- Values: `true` to enable, anything else to disable
145145
- Default: empty
146+
- `ROARR_ACCESS_LOG`
147+
- Whether to output HTTP access logs
148+
- Optional
149+
- Values: `true` to enable, anything else to disable
150+
- Default: empty
146151

147152
Backend and Frontend
148153

docker-compose.local.app-base.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ services:
2929
- VITE_SENTRY_ORG=${VITE_SENTRY_ORG}
3030
- VITE_SENTRY_PROJECT=${VITE_SENTRY_PROJECT}
3131
- VITE_SENTRY_AUTH_TOKEN=${VITE_SENTRY_AUTH_TOKEN}
32+
- ROARR_LOG=${ROARR_LOG}
33+
- ROARR_MIN_LOG_LEVEL=${ROARR_MIN_LOG_LEVEL}
34+
- ROARR_SHOW_DEBUG_CONTEXT=${ROARR_SHOW_DEBUG_CONTEXT}
35+
- ROARR_ACCESS_LOG=${ROARR_ACCESS_LOG}
3236
privileged: true
3337
pid: host
3438
network_mode: host

0 commit comments

Comments
 (0)