orleans icon indicating copy to clipboard operation
orleans copied to clipboard

Can i integrate with the NLog log component

Open leoterry-ulrica opened this issue 8 years ago • 4 comments

I want to use the NLog component as my log provider.How can I achieve it? @ReubenBond Thx

leoterry-ulrica avatar Oct 25 '18 00:10 leoterry-ulrica

install NLog.Extensions.Logging

and

ISiloHostBuilder builder = new SiloHostBuilder();
builder.ConfigureLogging(configureLogging => {  configureLogging.AddNLog();  });

patricksuo avatar Oct 25 '18 02:10 patricksuo

FYI https://github.com/dotnet/orleans/issues/3641

patricksuo avatar Oct 25 '18 02:10 patricksuo

yes you can , and please see #3641, I have a code sample there on how.

xiazen avatar Oct 26 '18 18:10 xiazen

thx all

leoterry-ulrica avatar Oct 27 '18 15:10 leoterry-ulrica