Upload logs to s3 after rotating.