[PATCHSET 1/5] fuse2fs: better logging

Darrick J. Wong
2025-04-24T21:38:30Z

Hi all,

This series improves logging in fuse2fs by prefixing all messages with
the name of the driver and the device; and ensures that messages are
flusehd immediately.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

Comments and questions are, as always, welcome.

e2fsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/e2fsprogs.git/log/?h=fuse2fs-logging
---
Commits in this patchset:
* fuse2fs: enable runtime debugging
* fuse2fs: stop aliasing stderr with ff->err_fp
* fuse2fs: use error logging macro for mount errors
* fuse2fs: make other logging consistent
* fuse2fs: redirect all messages when FUSE2FS_LOGFILE is set
---
misc/fuse2fs.c | 253 ++++++++++++++++++++++++++++++--------------------------
1 file changed, 135 insertions(+), 118 deletions(-)