Added debug log to cache clearly thread.