Unverified Commit e5022cf8 authored by 老广's avatar 老广 Committed by GitHub

Merge pull request #35 from jumpserver/dev

Dev
parents 0c215e5d 35f530f3
...@@ -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'),
......
...@@ -30,5 +30,5 @@ tornado==4.5.2 ...@@ -30,5 +30,5 @@ tornado==4.5.2
urllib3==1.22 urllib3==1.22
wcwidth==0.1.7 wcwidth==0.1.7
werkzeug==0.12.2 werkzeug==0.12.2
jumpserver-python-sdk==0.0.31 jumpserver-python-sdk==0.0.32
jms-es-sdk jms-es-sdk
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