Commit e7b1468e authored by 广宏伟's avatar 广宏伟

Merged in test (pull request #30)

chore: log
parents d20c77da 7c22a297
...@@ -289,7 +289,7 @@ class S3ReplayRecorder(ServerReplayRecorder): ...@@ -289,7 +289,7 @@ class S3ReplayRecorder(ServerReplayRecorder):
self.s3 = boto3.client('s3') self.s3 = boto3.client('s3')
def push_to_s3(self, session_id): def push_to_s3(self, session_id):
logger.debug("push to server") logger.debug("push to s3")
try: try:
self.s3.upload_file( self.s3.upload_file(
os.path.join(self.app.config['LOG_DIR'], session_id + '.replay.gz'), os.path.join(self.app.config['LOG_DIR'], session_id + '.replay.gz'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment