replace hardcoded logging host & port with parameters

parameter to enable/disable nxlog service