From 533b194a761a01c6105677e61d6c2083034bfc06 Mon Sep 17 00:00:00 2001 From: Alja Mrak-Tadel Date: Thu, 6 Apr 2017 14:55:34 -0700 Subject: [PATCH] Log detach and destroy in debug level. --- src/XrdFileCache/XrdFileCacheIOFileBlock.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/XrdFileCache/XrdFileCacheIOFileBlock.cc b/src/XrdFileCache/XrdFileCacheIOFileBlock.cc index a94c68bc9fd..c954224294a 100644 --- a/src/XrdFileCache/XrdFileCacheIOFileBlock.cc +++ b/src/XrdFileCache/XrdFileCacheIOFileBlock.cc @@ -50,6 +50,9 @@ IOFileBlock::~IOFileBlock() { // called from Detach() if no sync is needed or // from Cache's sync thread + + TRACEIO(Debug, "deleting IOFileBlock"); + while (! m_blocks.empty()) { std::map::iterator it = m_blocks.begin(); @@ -63,7 +66,7 @@ XrdOucCacheIO* IOFileBlock::Detach() { // Called from XrdPosixFile destructor - TRACEIO(Debug, "IOFileBlock detaching file"); + TRACEIO(Debug, "detach IOFileBlock"); XrdOucCacheIO * io = GetInput();