add option for vhost json logging