Skip to content

Commit d975f78

Browse files
authored
Change default value for RemoveLoggerFactoryFilter to true (#521)
1 parent 04fa379 commit d975f78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NLog.Extensions.Logging/Logging/NLogProviderOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class NLogProviderOptions
6060
/// Resets the default Microsoft LoggerFactory Filter for the <see cref="NLogLoggerProvider"/>, and instead only uses NLog LoggingRules.
6161
/// </summary>
6262
/// <remarks>This option affects the building of service configuration, so assigning it from appsettings.json has no effect (loaded after).</remarks>
63-
public bool RemoveLoggerFactoryFilter { get; set; }
63+
public bool RemoveLoggerFactoryFilter { get; set; } = true;
6464

6565
/// <summary>
6666
/// Replace Microsoft LoggerFactory with a pure <see cref="NLogLoggerFactory" />, and disables Microsoft Filter Logic and multiple LoggingProvider support.

0 commit comments

Comments
 (0)