orleans
orleans copied to clipboard
Orleans logging migrate to MEL remaining issues
This is the issue list keeping tracking breaking changes in logging after pr #3333. Some breaking changes we want to bring back in subsequent PRs, some needs more discussion and decision making. This is the tracking list to remind ourselves.
- TestClusterOptions TraceToConsole was removed, so that user cannot configure TraceToConsole through TestClusterOptions anymore. One need to configure that in a Microsoft.Extensions.Logging fashion, through ISiloBuilder and ISiloBuilderFactory.
- UnobservedExceptionsHandlerClass's logging is initialized through a static method and its logger is static too. This won't work in many cases, for example when client and silo share the same AppDomain, the logging config in client side and silo side will be mixed up in UnobservedExceptionsHandlerClass
- Same with SchedulerStatisticsGroup.cs Init(ILoggerFactory) method
- We removed most trace related config in ClientConfiguration and NodeConfiguration. Now one need to configure their logging in a Microsoft.Extensions.Logging. So in Orleans test projects, should we add a base test class with default logging config so that we don't need to configure logging repeatly with different tests? taking that every tests' logging config should be almost the same
close this since the issue are fixed