Added preference option to toggle logging in-front of or behind firewall