Skip to content

Commit

Permalink
Log detach and destroy in debug level.
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and simonmichal committed Apr 24, 2017
1 parent 3f59b05 commit 533b194
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/XrdFileCache/XrdFileCacheIOFileBlock.cc
Expand Up @@ -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<int, File*>::iterator it = m_blocks.begin();
Expand All @@ -63,7 +66,7 @@ XrdOucCacheIO* IOFileBlock::Detach()
{
// Called from XrdPosixFile destructor

TRACEIO(Debug, "IOFileBlock detaching file");
TRACEIO(Debug, "detach IOFileBlock");

XrdOucCacheIO * io = GetInput();

Expand Down

0 comments on commit 533b194

Please sign in to comment.