NLog.Mongo icon indicating copy to clipboard operation
NLog.Mongo copied to clipboard

Log properties Event.Id is cause problem, I had to change line 255 to this string key = Convert.ToString(property.Key, CultureInfo.InvariantCulture).Replace('.', '_');

Open MingLu8 opened this issue 8 years ago • 2 comments

Log properties Event.Id is cause problem, I had to change line 255 to this string key = Convert.ToString(property.Key, CultureInfo.InvariantCulture).Replace('.', '_');

MingLu8 avatar Aug 29 '17 20:08 MingLu8

I think this is with NLog.Extensions.Logging?

You can also set the separater for Event.Id

loggerFactory.AddNLog(new NLogProviderOptions() { EventIdSeparator = "_"});

304NotModified avatar Oct 13 '17 23:10 304NotModified

@pwelter34 Resolved with #22

snakefoot avatar Dec 18 '18 20:12 snakefoot