You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that JSON output and other output can be sent to the same destination. We should probably collect all info and error messages and create a new key to store these contents. To work around this problem, just do something like this:
Thanks for the reply. Putting error messages in a separate key would be a good idea indeed. I believe that's what smartctl does for instance.
I applied a similar workaround with sed -n '/^{/,$p' although I wasn't 100% comfortable with it as I wasn't sure that errors would always appear before the JSON.
Please acknowledge the following before creating a ticket
Description of the bug:
Hi,
I noticed that when certain errors occur, the output file contains invalid JSON.
Environment: Debian 10, kernel 6.1.51
fio version: master branch at f53eaac
Reproduction steps
Complete log file:
sdb.log
The text was updated successfully, but these errors were encountered: