returns ip from apache log