How to configure the sentry logs to s3 or cloud watch

Hello Team,

Recently sentry has crashed and i dont have any logs . Can anyone please help me on how to configure the logs to s3 or on the instance