close debug logs