It must happen here: https://github.com/xrootd/xrootd/blob/d9abff3b124a4ee9f3d902fdd0a7948314200670/src/XrdCl/XrdClFileStateHandler.cc#L797-L800 I think the if statement needs the `DefaultEnv::GetLog()` similarly as the destructor `~File` destructor. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1487#issuecomment-888615454 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1