diff Core/FileStorage.cpp @ 201:bee20e978835

refactoring of delete
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 27 Nov 2012 17:36:19 +0100
parents 0fadb04728ba
children
line wrap: on
line diff
--- a/Core/FileStorage.cpp	Tue Nov 27 16:49:22 2012 +0100
+++ b/Core/FileStorage.cpp	Tue Nov 27 17:36:19 2012 +0100
@@ -40,6 +40,7 @@
 #include "Uuid.h"
 
 #include <boost/filesystem/fstream.hpp>
+#include <glog/logging.h>
 
 static std::string ToString(const boost::filesystem::path& p)
 {
@@ -275,6 +276,7 @@
 
   void FileStorage::Remove(const std::string& uuid)
   {
+    LOG(INFO) << "Deleting file " << uuid;
     namespace fs = boost::filesystem;
 
     fs::path p = GetPath(uuid);