How to log what codec was used for calls

Hello,

When reviewing call logs I do not see any codec information, whether the call used G711, or G729, etc. Is there a way to add that to the call logging? Do I need to raise the verbosity of the logging?

Thank you!

+1 to this question.
How to log which codec used for each call ?