diff options
author | Jakob Unterwurzacher | 2020-10-14 15:33:37 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-10-14 15:37:37 +0200 |
commit | 871f305f9016b9f52bbc7d49ed4da1a7fffacf9d (patch) | |
tree | 87836759c432bb478e813a46604aebd28c005c6c /mount.go | |
parent | ec3eaf0b8776500a9762555eac754b6c893420fd (diff) |
main: show microseconds in go-fuse logs
Suppress the date but show microseconds in fuse debug logs
(-fusedebug) and go-fuse warnings.
Diffstat (limited to 'mount.go')
-rw-r--r-- | mount.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -347,7 +347,7 @@ func initGoFuse(rootNode fs.InodeEmbedder, args *argContainer) *fuse.Server { } fuseOpts.NullPermissions = true // Enable go-fuse warnings - fuseOpts.Logger = log.New(os.Stderr, "go-fuse: ", 0) + fuseOpts.Logger = log.New(os.Stderr, "go-fuse: ", log.Lmicroseconds) fuseOpts.MountOptions = fuse.MountOptions{ // Writes and reads are usually capped at 128kiB on Linux through // the FUSE_MAX_PAGES_PER_REQ kernel constant in fuse_i.h. Our |