Skip to content

Commit 81eb964

Browse files
committed
tmp enable server access logs in tests
1 parent 85d7ab9 commit 81eb964

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/docker/docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ services:
4646
- S3QUOTA
4747
- QUOTA_ENABLE_INFLIGHTS
4848
- S3_VERSION_ID_ENCODING_TYPE
49+
- S3_ENABLE_SERVER_ACCESS_LOGS=true
4950
env_file:
5051
- creds.env
5152
depends_on:

lib/Config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,10 @@ function parseServerAccessLogs(config) {
592592
}
593593
}
594594

595+
if (process.env.S3_ENABLE_SERVER_ACCESS_LOGS === 'true') {
596+
res.enabled = true;
597+
}
598+
595599
return res;
596600
}
597601

0 commit comments

Comments
 (0)