"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "e596eec2a4e539f0c49aab3f5cdbd18a3bb26bc9"
Unverified Commit 4a07f9ed authored by SparkSnail's avatar SparkSnail Committed by GitHub
Browse files

Fix trialkeeper flush (#2174)

parent 3c0ef842
......@@ -85,6 +85,13 @@ class RemoteLogger(object):
'''
return PipeLogReader(self.logger, self.log_collection, logging.INFO)
def flush(self):
'''
Add flush in handler
'''
for handler in self.logger.handlers:
handler.flush()
def write(self, buf):
'''
Write buffer data into logger/stdout
......
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