Skip to content

How to use ProviderIsAvailableOverride property in log providers #954

Answered by lahma
MasterNewbie2 asked this question in General
Discussion options

You must be logged in to vote

I think you can work around this by calling Quartz.Logging.LogProvider.SetCurrentLogProvider(ILogProvider). You you supply the NLogLogProvider (or your own wrapper) taken from sources it should skip trying to scan for the logger implementation as one is already set. If you are on .NET Core boat with MS logging abstractions and already have the NLog bridge there, there's also Quartz.LogContext.SetCurrentLogProvider(ILoggerFactory).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MasterNewbie2
Comment options

@lahma
Comment options

Answer selected by MasterNewbie2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants