Adding logging capabilities to the soapServer handle function