RehanSaeed/Serilog.Exceptions

Stack Trace Property Missing

SteGaff7 opened this issue · 3 comments

Describe the bug

My understanding from Issue 29 was that excluding the stack trace property was an optional filter, however for me it seems to be excluding it by default.

I am using the Google Cloud Logging sink, injecting Serilog logger and using the Microsoft ILogger interface.

It would be great to get some clarity if this property is ignored by default and if so, is it possible to include it once again?

Yes this is the default behaviour. We skip the StackTrace in the Serilog.Exception's exception details because it's already included with the default Serilog log message.

Thanks for the information.