Skip to content

Commit

Permalink
Merge pull request #6748 from guardian/ash/log4jsmode
Browse files Browse the repository at this point in the history
Fix dotcom-rendering kinesis stream
  • Loading branch information
AshCorr committed Dec 12, 2022
2 parents 16afbca + 2572791 commit 586e833
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dotcom-rendering/cloudformation.yml
Expand Up @@ -242,6 +242,7 @@ Resources:

groupadd frontend
useradd -r -m -s /usr/bin/nologin -g frontend dotcom-rendering
usermod -a -G frontend aws-kinesis-agent-user
cd /home/dotcom-rendering

aws --region eu-west-1 s3 cp s3://aws-frontend-artifacts/frontend/${Stage}/${App}/dist/${App}.zip ./
Expand Down
2 changes: 2 additions & 0 deletions dotcom-rendering/src/server/lib/logging.ts
Expand Up @@ -68,6 +68,8 @@ const enableLog4j = {
backups: 5,
compress: true,
layout: { type: 'json', separator: ',' },
// Owner Read & Write, Group Read
mode: 0o640,
},
},
categories: {
Expand Down

0 comments on commit 586e833

Please sign in to comment.