diff --git a/scheduler/OStoreDB/MemQueues.hpp b/scheduler/OStoreDB/MemQueues.hpp
index cf2578340de53be5e3da5334dd92c3f82ba9e328..22733e6db6426f76e4ae8fe2a237f74d8b7d76e6 100644
--- a/scheduler/OStoreDB/MemQueues.hpp
+++ b/scheduler/OStoreDB/MemQueues.hpp
@@ -43,7 +43,7 @@ public:
 private:
   std::unique_ptr<objectstore::ScopedExclusiveLock> m_lock;
   std::unique_ptr<objectstore::ArchiveQueue> m_queue;
-  log::LogContext & m_logContext;
+  log::LogContext m_logContext;
   utils::Timer m_timer;
 };