This is wrecking my head and the documentation seems to be non-existent for this library. I have a Rolling Flat file listener... I want to include the callstack in any messages that get written to the listener.
<add name="RollingFileLog"
fileName="C:\Rainmaker\Logs\SampleArchitectureService.Log"
... snipped for brevity
traceOutputOptions="Callstack" />
What do I need to include in my Formatter to get that Callstack/Trace info to appear. Formatter is below
<add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, ..."
name="TextFormatter"
template="{timestamp(local)}: [{category}/{severity}] - {message} - ****WHATGOES HERE***" />
I've tried everything, looking in the extended properties dictionary, using the {property()} and {keyvalue()} tokens for which there is no documentation either.
Can someone please explain to me wht this traceOutputOptions
attribute is for, and if it's for what I think, how the heck do I access those attributes.