How to get client iP address in elixir logger

Using elixir, I am trying to get client ip address in logger, but not able to get that. Any kind of help will be appreciated.

Hello and welcome to the forum, It is not mentionned if You use Phoenix, but if yes, then You can get remote_ip from conn.



Thanks for your help. I’m using Phoenix. I’ll try your suggestion.