Adding logging to s3