diff --git a/tuned/admin/admin.py b/tuned/admin/admin.py index 8cc704b..5dffb6c 100644 --- a/tuned/admin/admin.py +++ b/tuned/admin/admin.py @@ -234,7 +234,8 @@ class Admin(object): log_msgs = self._controller.log_capture_finish( self._log_token) self._log_token = None - self._error(log_msgs) + print(log_msgs, end = "", file = sys.stderr) + sys.stderr.flush() except TunedAdminDBusException as e: self._error("Error: Failed to stop log capture. Restart the Tuned daemon to prevent a memory leak.")