clean logs in tests