We use a lot of xml parameters in our stored procedures (both in and out). When an exception occurs, we log these parameters as well as the stack trace. The problem is that the xml is being logged one line at a time which makes the resultant log very difficult to read. However, the stack trace is logged normally. Is there a way that the xml blob can be logged as one entry?
Please sign in to leave a comment.