ignore localhost or 127.0.0.1 on logging