From 440387e522a26b4270d4541eadc558554ed0b80c Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Fri, 30 Oct 2015 20:18:31 +0100 Subject: [PATCH] Add logging messages when filesystem starts/stops --- fuse/Fuse.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fuse/Fuse.cpp b/fuse/Fuse.cpp index e1b69479..13bf059a 100644 --- a/fuse/Fuse.cpp +++ b/fuse/Fuse.cpp @@ -6,6 +6,7 @@ #include "Filesystem.h" #include #include +#include using std::vector; using std::string; @@ -649,12 +650,12 @@ void Fuse::init(fuse_conn_info *conn) { cpputils::logging::setLevel(DEBUG); #endif - //LOG(DEBUG) << "init()"; + LOG(INFO) << "Filesystem started."; } void Fuse::destroy() { _running = false; - //LOG(DEBUG) << "destroy()"; + LOG(INFO) << "Filesystem stopped."; } int Fuse::access(const bf::path &path, int mask) {