debug logging 4