Added logging of clientnt IP addresses