diff --git a/cras/src/server/cras_alsa_common_io.c b/cras/src/server/cras_alsa_common_io.c index f9ab91c7c..a5b628f78 100644 --- a/cras/src/server/cras_alsa_common_io.c +++ b/cras/src/server/cras_alsa_common_io.c @@ -171,11 +171,13 @@ int cras_alsa_common_set_active_node(struct cras_iodev* iodev, struct alsa_common_io* aio = (struct alsa_common_io*)iodev; cras_iodev_set_active_node(iodev, ionode); syslog(LOG_INFO, - "card type: %s, Set active node. name: %s, id: %d, direction: %s, " + "card type: %s, Set active node. name: %s, pcm_name: %s, id: %d, " + "direction: %s, " "type: %s, " "enable software volume: %d, intrinsic_sensitivity: %ld, volume: %d, " "number_of_volume_steps: %d", - cras_card_type_to_string(aio->card_type), ionode->name, ionode->idx, + cras_card_type_to_string(aio->card_type), ionode->name, aio->pcm_name, + ionode->idx, iodev->direction == CRAS_STREAM_OUTPUT ? "output" : "input", cras_node_type_to_str(ionode->type, ionode->position), ionode->software_volume_needed, ionode->intrinsic_sensitivity,