[fix] if there is no vhost property, default to the hostname of the url
[fix] logging format