use logger to print hostname