Only include logging when host defined
Merge pull request #497 from blueboxgroup/rsyslog-flag

Only include logging when host defined