Fixing Staging hostname
Tweaking logging functionality slightly