fix bug in logger that would cause it to never refresh host ip