How to use CallSite layout renderer

Sep 22, 2015 at 7:20 AM
Hello everyone,
I am trying to display the source code path with the line number in Sentinel, I have created the layout with NLog to do the same but its not showing any source code path and line number in sentinel.

The same layout for other targets like Eventlog, File and Console are showing the information properly.
Coordinator
Oct 1, 2015 at 9:32 PM
Not sure the information is embedded within the 'network event' record. Let me take a look.
Coordinator
Oct 3, 2015 at 5:06 PM
The includeCallSite attribute in the nLog configuration does not put line information into the log message, but includeSourceInfo="true" does. I've upgraded Sentinel (0.12.0.0) to decode this information if supplied and added four new columns to display it. I'll probably add more control in the future to decide which columns are shown.


See the example nLog configuration shown in the release notes - added to the nLog4Tester, the results do what I think you're expecting.