LokiLoggingProvider icon indicating copy to clipboard operation
LokiLoggingProvider copied to clipboard

System.AggregateException on LokiLogEntryProcessor

Open werebear73-tritelph opened this issue 11 months ago • 3 comments

I'm getting the following error

System.AggregateException: 'An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'LokiLogEntryProcessor'.)'

Inner Exception: ObjectDisposedException: Cannot access a disposed object. Object name: 'LokiLogEntryProcessor'.

It is strange that I don't get the error if I don't call my custom Configuration Builder. This is running on .Net 8. I tried removing any references to logging in the custom Configuration Builder and the error occurs. If I remove the configuration builder, I don't get the error but of course I don't get my needed configurations.

werebear73-tritelph avatar Mar 11 '24 15:03 werebear73-tritelph