Always use the config hostname if it's set

Fix #767
Add timezone in event viewer log