Closed old-memories closed 1 year ago
Hi Ziyang,
OK, we could add ./configure option for enabling debug switch, will do that and document in readme.
thanks,
BTW, ublksrv log is improved now.
But, not support runtime logging, so for any logging still need to ./configure --enable-debug for passing -DDEBUG.
The improvement is adding debug masks for grouping logging info by passing --debug_mask to 'ublk add', see each kind of debug level: UBLKDBG* in include/ublksrv_utils.h
Hi Ming,
I find that ublksrv provides log functions but it is disabled by default. Is there any easier ways to enable them?
We could add "-DDEBUG" in CFLAGS while running ./configure but I think this is not handy for users. Or we could add these steps in README.