diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-08-11 23:41:26 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-08-12 01:47:32 +0100 |
commit | 31f61cdaa796957f703d3374ec5cec7e897fecbc (patch) | |
tree | 7dd56a6e221c5ee63cb56ae92d3638f0d64acafe /libfusepp/fuseAppBase.cpp | |
parent | Visibility hidden (diff) | |
download | netfs-31f61cdaa796957f703d3374ec5cec7e897fecbc.tar.bz2 netfs-31f61cdaa796957f703d3374ec5cec7e897fecbc.tar.xz netfs-31f61cdaa796957f703d3374ec5cec7e897fecbc.zip |
Write client logs to syslog instead of stderr (/dev/null)
Diffstat (limited to 'libfusepp/fuseAppBase.cpp')
-rw-r--r-- | libfusepp/fuseAppBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfusepp/fuseAppBase.cpp b/libfusepp/fuseAppBase.cpp index 49f2d6b..b56b765 100644 --- a/libfusepp/fuseAppBase.cpp +++ b/libfusepp/fuseAppBase.cpp @@ -184,7 +184,7 @@ int FuseAppBase::fallocate(const char *, int, off_t, off_t, struct fuse_file_inf } int FuseAppBase::onError(const std::exception & e) throw() { - fprintf(stderr, "Unknown exception (what: %s)\n", e.what()); + log(LOG_ERR, stringf("Unknown exception (what: %s)\n", e.what())); return -ENOSYS; } |