element-hq/element-android

Log devices sent to with /sendToDevice

kegsay opened this issue · 4 comments

As part of debugging unable to decrypt issues, I need to look at Element Android logs. The logs however lack the detail found in Element X Android, specifically:

  • it does not log which devices it is sending a room key to in /sendToDevice.

Please can it do this so I can confirm that the sender is sending room keys to the right devices.

Might just need configuration of logging in the sdk modules.

@BillCarsonFr will have a quick look and do it if it's simple.

I think it does log that:

Timber.i("Sent to device type=${params.eventType} txnid=$txnId [${decorated.second.joinToString(",")}]")

Maybe we would want to re-consider matrix-org/matrix-rust-sdk#3274 ?
Looks like it's common that we don't have enough log history?