Merge "Redirect debug output to logcat." into lmp-dev