Fixed hostname log issue