+18
−2
Loading
JSON RPC logging is supported and it utilizes sppdk_vlog/vflog(). Maximal printable size of spdk_vlog/vflog() is limited and the output may be truncated. vasprintf() can allocate a string large enough to hold the output. To avoid truncation as much as possible, use vasprintf(). Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I26b2fae4cd521b6b93ccaa02d86be78d526f778d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20831 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>