Changed REMOTE_HOST to REMOTE_ADDR as it was no longer logging in v 1.4.1 under nginx