diff --git a/examples/WebApplication1/Controllers/RequestController.cs b/examples/WebApplication1/Controllers/RequestController.cs index de8b16c..6f2060f 100644 --- a/examples/WebApplication1/Controllers/RequestController.cs +++ b/examples/WebApplication1/Controllers/RequestController.cs @@ -41,7 +41,8 @@ [FromBody]ProgrammableServiceRequest request { //this action will be called anytime a user wants to interact with your application - _logger.LogDebug("received request for {msisdn} {session_id} {gs_request}", request.Mobile, request.SessionId, + var sanitizedSessionId = request.SessionId?.Replace(Environment.NewLine, "").Replace("\n", "").Replace("\r", ""); + _logger.LogDebug("received request for {msisdn} {session_id} {gs_request}", request.Mobile, sanitizedSessionId, JsonConvert.SerializeObject(request)); var response = await _programmableService.ExecuteInteraction(request, nameof(EvdController));