Added logging back into cangateway.