diff --git a/kenning/runtimes/renode.py b/kenning/runtimes/renode.py index ba8bcaef..75b50835 100644 --- a/kenning/runtimes/renode.py +++ b/kenning/runtimes/renode.py @@ -299,6 +299,10 @@ def handle_renode_logs(self): Captures log from UART and Renode console. """ # capture Renode console logs + from Antmicro.Renode.Logging import Logger + + Logger.Flush() + if not self.renode_log_file.closed and self.renode_log_file.readable(): while True: logs = self.renode_log_file.read()