IP remote in the Log4j

Hello friends, I hope can help me with the following thing: I have an
application that uses the “Log4J”, which I want to know is that
line I must add so that also it registers the IP address of the clients
who accede to this aplicaion. At the moment this recording date and URL
but I need remote IP address. thanks