logging: If no hostname is specified, use $(hostname) as default

07d4474a-cdae-11e2-81ff-0800274013ad