Add IP address to log info

I'll probably condense the logging into one middleware.