There's no such functionality in SPDK itself. I think formatting the
output with the common linux tools is the preferred way.
If you want to format multi-line messages, you might want to look
into your syslog - all spdk logs are put there as well, each SPDK_*LOG
as a separate entry. They are prefixed with "spdk" so that you can
setup some specific filters for them in syslogd, e.g. redirect them
to a separate file.
D.
-----Original Message-----
From: SPDK [mailto:spdk-bounces@lists.01.org] On Behalf Of Nabarro, Tom
Sent: Saturday, March 30, 2019 8:26 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] formatting log output
Is there a way to supply a log handler that can format and redirect SPDK
output rather than dumping to stdout/err?
Thanks
Tom
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
SPDK mailing list
SPDK(a)lists.01.org
https://lists.01.org/mailman/listinfo/spdk