From 31f61cdaa796957f703d3374ec5cec7e897fecbc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 11 Aug 2015 23:41:26 +0100 Subject: Write client logs to syslog instead of stderr (/dev/null) --- libfusepp/fuseAppBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libfusepp/fuseAppBase.cpp') 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; } -- cgit v1.2.3